diff options
| -rw-r--r-- | ports/rp2/boards/ADAFRUIT_FEATHER_RP2040/mpconfigboard.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/ports/rp2/boards/ADAFRUIT_FEATHER_RP2040/mpconfigboard.h b/ports/rp2/boards/ADAFRUIT_FEATHER_RP2040/mpconfigboard.h index 3d7b2e714..84d2bf20d 100644 --- a/ports/rp2/boards/ADAFRUIT_FEATHER_RP2040/mpconfigboard.h +++ b/ports/rp2/boards/ADAFRUIT_FEATHER_RP2040/mpconfigboard.h @@ -1,6 +1,20 @@ -// Board and hardware specific configuration -#define MICROPY_HW_BOARD_NAME "Adafruit Feather RP2040" -#define MICROPY_HW_FLASH_STORAGE_BYTES (3072 * 1024) +// https://www.adafruit.com/product/4884 +// https://learn.adafruit.com/adafruit-feather-rp2040-pico/pinouts + +#define MICROPY_HW_BOARD_NAME "Adafruit Feather RP2040" +#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024) #define MICROPY_HW_USB_VID (0x239A) #define MICROPY_HW_USB_PID (0x80F2) + +// STEMMA QT / Qwiic on I2C1 +#define MICROPY_HW_I2C1_SCL (3) +#define MICROPY_HW_I2C1_SDA (2) + +#define MICROPY_HW_SPI0_SCK (18) +#define MICROPY_HW_SPI0_MOSI (19) +#define MICROPY_HW_SPI0_MISO (20) + +// NeoPixel GPIO16, power not toggleable + +// Red user LED GPIO13 |
