circuitpython/ports/atmel-samd/boards/cp32-m4/mpconfigboard.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
493 B
C
Raw Normal View History

2018-11-01 12:42:48 -04:00
#define MICROPY_HW_BOARD_NAME "CP32-M4"
2019-04-14 22:45:44 -04:00
#define MICROPY_HW_MCU_NAME "samd51j20"
2018-11-01 12:42:48 -04:00
2019-04-14 22:45:44 -04:00
#define MICROPY_HW_APA102_MOSI (&pin_PA12)
#define MICROPY_HW_APA102_SCK (&pin_PA13)
2018-11-01 12:42:48 -04:00
#define CIRCUITPY_MCU_FAMILY samd51
#define DEFAULT_I2C_BUS_SCL (&pin_PB09)
#define DEFAULT_I2C_BUS_SDA (&pin_PB08)
#define DEFAULT_SPI_BUS_SCK (&pin_PA22)
#define DEFAULT_SPI_BUS_MOSI (&pin_PA23)
#define DEFAULT_SPI_BUS_MISO (&pin_PA21)
2019-04-14 22:45:44 -04:00
#define DEFAULT_UART_BUS_RX (&pin_PB17)
#define DEFAULT_UART_BUS_TX (&pin_PB16)