aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/feather-rp2040-boot-stage2.S
blob: fad30890c410996a8c5fdac5b0b78b9f69593fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Adafruit Feather RP2040 Stage 2 Bootloader

//
// This file defines the parameters specific to the flash-chip found
// on the Adafruit Feather RP2040.  The generic implementation is in
// rp2040-boot-stage2.S
//

#define BOARD_PICO_FLASH_SPI_CLKDIV   4
#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"