19 lines
553 B
C
19 lines
553 B
C
#define MICROPY_HW_BOARD_NAME "Pimoroni Badger 2040 W"
|
|
#define MICROPY_HW_MCU_NAME "rp2040"
|
|
|
|
#define CIRCUITPY_DIGITALIO_HAVE_INVALID_PULL (1)
|
|
#define CIRCUITPY_DIGITALIO_HAVE_INVALID_DRIVE_MODE (1)
|
|
|
|
// Status LED
|
|
#define MICROPY_HW_LED_STATUS (&pin_CYW0)
|
|
|
|
#define DEFAULT_UART_BUS_TX (&pin_GPIO0)
|
|
#define DEFAULT_UART_BUS_RX (&pin_GPIO1)
|
|
|
|
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO4)
|
|
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO5)
|
|
|
|
#define DEFAULT_SPI_BUS_SCK (&pin_GPIO18)
|
|
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO19)
|
|
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO16)
|