rp2/boards: Add Adafruit ItsyBitsy RP2040.
This commit is contained in:
parent
e7a3e6ee6a
commit
043848158d
@ -0,0 +1 @@
|
||||
# cmake file for Adafruit ItsyBitsy RP2040
|
21
ports/rp2/boards/ADAFRUIT_ITSYBITSY_RP2040/mpconfigboard.h
Normal file
21
ports/rp2/boards/ADAFRUIT_ITSYBITSY_RP2040/mpconfigboard.h
Normal file
@ -0,0 +1,21 @@
|
||||
// https://www.adafruit.com/product/4888
|
||||
// https://learn.adafruit.com/adafruit-itsybitsy-rp2040/pinouts
|
||||
|
||||
#define MICROPY_HW_BOARD_NAME "Adafruit ItsyBitsy RP2040"
|
||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024)
|
||||
|
||||
#define MICROPY_HW_USB_VID (0x239A)
|
||||
#define MICROPY_HW_USB_PID (0x80FE)
|
||||
|
||||
#define MICROPY_HW_I2C0_SCL (3)
|
||||
#define MICROPY_HW_I2C0_SDA (2)
|
||||
|
||||
#define MICROPY_HW_SPI0_SCK (18)
|
||||
#define MICROPY_HW_SPI0_MOSI (19)
|
||||
#define MICROPY_HW_SPI0_MISO (20)
|
||||
|
||||
// NeoPixel data GPIO17, power GPIO16
|
||||
|
||||
// Red user LED GPIO11
|
||||
|
||||
// Boot button GPIO13
|
Loading…
Reference in New Issue
Block a user