nrf/boards: Updating microbit pin mapping for SPI and I2C.
This commit is contained in:
parent
30b27b1370
commit
72a564b065
@ -60,9 +60,9 @@
|
||||
|
||||
// SPI0 config
|
||||
#define MICROPY_HW_SPI0_NAME "SPI0"
|
||||
#define MICROPY_HW_SPI0_SCK (pin_A13)
|
||||
#define MICROPY_HW_SPI0_MOSI (pin_A15)
|
||||
#define MICROPY_HW_SPI0_MISO (pin_A14)
|
||||
#define MICROPY_HW_SPI0_SCK (pin_A23)
|
||||
#define MICROPY_HW_SPI0_MOSI (pin_A21)
|
||||
#define MICROPY_HW_SPI0_MISO (pin_A22)
|
||||
|
||||
// micro:bit music pin
|
||||
#define MICROPY_HW_MUSIC_PIN (pin_A3)
|
||||
|
@ -1,4 +1,4 @@
|
||||
PA0,PA0
|
||||
I2C_SCL,PA0
|
||||
PA1,PA1
|
||||
PA2,PA2
|
||||
PA3,PA3
|
||||
@ -19,14 +19,14 @@ PA17,PA17
|
||||
PA18,PA18
|
||||
PA19,PA19
|
||||
PA20,PA20
|
||||
PA21,PA21
|
||||
PA22,PA22
|
||||
PA23,PA23
|
||||
SPI_MOSI,PA21
|
||||
SPI_MISO,PA22
|
||||
SPI_SCK,PA23
|
||||
PA24,PA24
|
||||
PA25,PA25
|
||||
PA26,PA26
|
||||
PA27,PA27
|
||||
PA28,PA28
|
||||
PA29,PA29
|
||||
PA30,PA30
|
||||
I2C_SDA,PA30
|
||||
PA31,PA31
|
|
Loading…
Reference in New Issue
Block a user