16 lines
444 B
C
16 lines
444 B
C
#define MICROPY_HW_BOARD_NAME "Pimoroni Badger 2040"
|
|
#define MICROPY_HW_MCU_NAME "rp2040"
|
|
|
|
// Status LED
|
|
#define MICROPY_HW_LED_STATUS (&pin_GPIO25)
|
|
|
|
#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)
|