diff options
| author | Mike Causer <mcauser@gmail.com> | 2021-07-24 02:15:00 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-08-01 23:07:05 +1000 |
| commit | 042a4bebc3c84ae3ae81bcc32d9d8eed71c1a0b9 (patch) | |
| tree | 6ca0e1c07f84173e014daea54c9d5a2df655b790 | |
| parent | 95eff8d96ab6a347d2aa5987110467760c703dfd (diff) | |
rp2/boards: Add Pimoroni Pico LiPo 16MB.
| -rw-r--r-- | ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.cmake | 1 | ||||
| -rw-r--r-- | ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.h | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.cmake b/ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.cmake new file mode 100644 index 000000000..b98ff4495 --- /dev/null +++ b/ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.cmake @@ -0,0 +1 @@ +# cmake file for Pimoroni Pico LiPo 16MB diff --git a/ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.h b/ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.h new file mode 100644 index 000000000..68478f761 --- /dev/null +++ b/ports/rp2/boards/PIMORONI_PICOLIPO_16MB/mpconfigboard.h @@ -0,0 +1,28 @@ +// https://shop.pimoroni.com/products/pimoroni-pico-lipo?variant=39335427080275 + +#define MICROPY_HW_BOARD_NAME "Pimoroni Pico LiPo 16MB" +#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024) + +#define MICROPY_HW_USB_VID (0x2E8A) +#define MICROPY_HW_USB_PID (0x1003) + +#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 (4) +#define MICROPY_HW_I2C0_SDA (5) + +#define MICROPY_HW_SPI0_SCK (18) +#define MICROPY_HW_SPI0_MOSI (19) +#define MICROPY_HW_SPI0_MISO (16) + +// User LED GPIO25 + +// VBUS_SENSE GPIO24 + +// BAT_SENSE GPIO29 + +// Boot button GPIO23 |
