rp2/boards: Add Pimoroni Tiny 2040.
This commit is contained in:
parent
042a4bebc3
commit
71722c84ca
1
ports/rp2/boards/PIMORONI_TINY2040/mpconfigboard.cmake
Normal file
1
ports/rp2/boards/PIMORONI_TINY2040/mpconfigboard.cmake
Normal file
@ -0,0 +1 @@
|
||||
# cmake file for Pimoroni Tiny 2040
|
17
ports/rp2/boards/PIMORONI_TINY2040/mpconfigboard.h
Normal file
17
ports/rp2/boards/PIMORONI_TINY2040/mpconfigboard.h
Normal file
@ -0,0 +1,17 @@
|
||||
// https://shop.pimoroni.com/products/tiny-2040
|
||||
|
||||
#define MICROPY_HW_BOARD_NAME "Pimoroni Tiny 2040"
|
||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024)
|
||||
|
||||
#define MICROPY_HW_USB_VID (0x16D0)
|
||||
#define MICROPY_HW_USB_PID (0x08C7)
|
||||
|
||||
#define MICROPY_HW_I2C0_SCL (4)
|
||||
#define MICROPY_HW_I2C0_SDA (5)
|
||||
|
||||
// RGB LED, active low
|
||||
// Red LED 18
|
||||
// Green LED 19
|
||||
// Blue LED 20
|
||||
|
||||
// Boot button GPIO23
|
Loading…
Reference in New Issue
Block a user