diff options
Diffstat (limited to 'src/machine/board_metro-m4-airlift.go')
-rw-r--r-- | src/machine/board_metro-m4-airlift.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/machine/board_metro-m4-airlift.go b/src/machine/board_metro-m4-airlift.go index c1f49a190..5d12dd73a 100644 --- a/src/machine/board_metro-m4-airlift.go +++ b/src/machine/board_metro-m4-airlift.go @@ -75,19 +75,19 @@ const ( // SPI pins const ( - SPI0_SCK_PIN = PA13 // SCK: SERCOM2/PAD[1] - SPI0_MOSI_PIN = PA12 // MOSI: SERCOM2/PAD[0] - SPI0_MISO_PIN = PA14 // MISO: SERCOM2/PAD[2] + SPI0_SCK_PIN = PA13 // SCK: SERCOM2/PAD[1] + SPI0_SDO_PIN = PA12 // SDO: SERCOM2/PAD[0] + SPI0_SDI_PIN = PA14 // SDI: SERCOM2/PAD[2] - NINA_MOSI = SPI0_MOSI_PIN - NINA_MISO = SPI0_MISO_PIN - NINA_SCK = SPI0_SCK_PIN + NINA_SDO = SPI0_SDO_PIN + NINA_SDI = SPI0_SDI_PIN + NINA_SCK = SPI0_SCK_PIN ) const ( - SPI1_SCK_PIN = D12 // MISO: SERCOM1/PAD[1] - SPI1_MOSI_PIN = D11 // MOSI: SERCOM1/PAD[3] - SPI1_MISO_PIN = D13 // SCK: SERCOM1/PAD[0] + SPI1_SCK_PIN = D12 // SDI: SERCOM1/PAD[1] + SPI1_SDO_PIN = D11 // SDO: SERCOM1/PAD[3] + SPI1_SDI_PIN = D13 // SCK: SERCOM1/PAD[0] ) // USB CDC identifiers |