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>
22 lines
602 B
C
22 lines
602 B
C
// https://www.adafruit.com/product/4900
|
|
// https://learn.adafruit.com/adafruit-qt-py-2040/pinouts
|
|
|
|
#define MICROPY_HW_BOARD_NAME "Adafruit QT Py RP2040"
|
|
#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024)
|
|
|
|
#define MICROPY_HW_USB_VID (0x239A)
|
|
#define MICROPY_HW_USB_PID (0x80F8)
|
|
|
|
#define MICROPY_HW_UART1_TX (20)
|
|
#define MICROPY_HW_UART1_RX (5)
|
|
#define MICROPY_HW_UART1_CTS (10)
|
|
#define MICROPY_HW_UART1_RTS (7)
|
|
|
|
// STEMMA QT / Qwiic on (non-default) I2C1
|
|
#define MICROPY_HW_I2C1_SCL (23)
|
|
#define MICROPY_HW_I2C1_SDA (22)
|
|
|
|
// NeoPixel data GPIO12, power GPIO11
|
|
|
|
// Boot button GPIO21
|