mirror of https://github.com/tinygo-org/tinygo.git
wasmstm32webassemblymicrocontrollerarmavrspiwasiadafruitarduinocircuitplayground-expressgpioi2cllvmmicrobitnrf51nrf52nrf52840samd21tinygo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
528 B
18 lines
528 B
2 years ago
|
// Adafruit QT Py RP2040 Stage 2 Bootloader
|
||
|
|
||
|
//
|
||
|
// This file defines the parameters specific to the flash-chip found
|
||
|
// on the Adafruit QT Py RP2040. The generic implementation is in
|
||
|
// rp2040-boot-stage2.S
|
||
|
//
|
||
|
|
||
|
#define BOARD_PICO_FLASH_SPI_CLKDIV 2
|
||
|
#define BOARD_CMD_READ 0xe7
|
||
|
#define BOARD_QUAD_OK 1
|
||
|
#define BOARD_QUAD_ENABLE_STATUS_BYTE 2
|
||
|
#define BOARD_QUAD_ENABLE_BIT_MASK 2
|
||
|
#define BOARD_SPLIT_STATUS_WRITE 1
|
||
|
#define BOARD_WAIT_CYCLES 2
|
||
|
|
||
|
#include "rp2040-boot-stage2.S"
|