dec0ff7a10
I.e. for whichever SPI/I2C instance is PICO_DEFAULT_I2C, there's no need to set MICROPY_HW_SPIn_SCK. The only ones remaining are for the non-default instance. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
21 lines
496 B
C
21 lines
496 B
C
// https://shop.pimoroni.com/products/pimoroni-pico-lipo?variant=39386149093459
|
|
|
|
#define MICROPY_HW_BOARD_NAME "Pimoroni Pico LiPo 4MB"
|
|
#define MICROPY_HW_FLASH_STORAGE_BYTES (3 * 1024 * 1024)
|
|
|
|
#define MICROPY_HW_USB_VID (0x2E8A)
|
|
#define MICROPY_HW_USB_PID (0x1002)
|
|
|
|
#define MICROPY_HW_UART1_TX (8)
|
|
#define MICROPY_HW_UART1_RX (9)
|
|
#define MICROPY_HW_UART1_CTS (10)
|
|
#define MICROPY_HW_UART1_RTS (11)
|
|
|
|
// User LED GPIO25
|
|
|
|
// VBUS_SENSE GPIO24
|
|
|
|
// BAT_SENSE GPIO29
|
|
|
|
// Boot button GPIO23
|