22 lines
559 B
C
22 lines
559 B
C
// 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
|