733094aead
The RP2040 is new microcontroller from Raspberry Pi that features two Cortex M0s and eight PIO state machines that are good for crunching lots of data. It has 264k RAM and a built in UF2 bootloader too. Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf
15 lines
435 B
C
15 lines
435 B
C
#define MICROPY_HW_BOARD_NAME "Adafruit Feather RP2040"
|
|
#define MICROPY_HW_MCU_NAME "rp2040"
|
|
|
|
#define MICROPY_HW_NEOPIXEL (&pin_GPIO16)
|
|
|
|
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO3)
|
|
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO2)
|
|
|
|
#define DEFAULT_SPI_BUS_SCK (&pin_GPIO18)
|
|
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO19)
|
|
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO20)
|
|
|
|
// #define DEFAULT_UART_BUS_RX (&pin_PA11)
|
|
// #define DEFAULT_UART_BUS_TX (&pin_PA10)
|