github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/targets/qtpy-rp2040-boot-stage2.S (about) 1 // Adafruit QT Py RP2040 Stage 2 Bootloader 2 3 // 4 // This file defines the parameters specific to the flash-chip found 5 // on the Adafruit QT Py RP2040. The generic implementation is in 6 // rp2040-boot-stage2.S 7 // 8 9 #define BOARD_PICO_FLASH_SPI_CLKDIV 2 10 #define BOARD_CMD_READ 0xe7 11 #define BOARD_QUAD_OK 1 12 #define BOARD_QUAD_ENABLE_STATUS_BYTE 2 13 #define BOARD_QUAD_ENABLE_BIT_MASK 2 14 #define BOARD_SPLIT_STATUS_WRITE 1 15 #define BOARD_WAIT_CYCLES 2 16 17 #include "rp2040-boot-stage2.S"