rp2/boards/SPARKFUN_PROMICRO: Configure UART/I2C/SPI default pins.

This commit is contained in:
Mike Causer 2021-07-24 02:06:38 +10:00 committed by Damien George
parent 49497084f1
commit 6986a8d680
1 changed files with 22 additions and 3 deletions

View File

@ -1,3 +1,22 @@
// Board and hardware specific configuration // https://www.sparkfun.com/products/17717
#define MICROPY_HW_BOARD_NAME "SparkFun Pro Micro RP2040"
#define MICROPY_HW_FLASH_STORAGE_BYTES (15 * 1024 * 1024) #define MICROPY_HW_BOARD_NAME "SparkFun Pro Micro RP2040"
#define MICROPY_HW_FLASH_STORAGE_BYTES (15 * 1024 * 1024)
#define MICROPY_HW_USB_VID (0x1B4F)
#define MICROPY_HW_USB_PID (0x0026)
#define MICROPY_HW_UART1_TX (8)
#define MICROPY_HW_UART1_RX (9)
#define MICROPY_HW_UART1_CTS (10)
#define MICROPY_HW_UART1_RTS (11)
// Qwiic on I2C0
#define MICROPY_HW_I2C0_SCL (17)
#define MICROPY_HW_I2C0_SDA (16)
#define MICROPY_HW_SPI0_SCK (22)
#define MICROPY_HW_SPI0_MOSI (23)
#define MICROPY_HW_SPI0_MISO (20)
// NeoPixel data GPIO25, power not toggleable