mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
samd/boards: Rename flash pins consistently for QSPI and SPI.
For SAMD21 devices, the board flash signals must be named in pins.csv as FLASH_MOSI, FLASH_MISO, FLASH_SCK, FLASH_CS for creating the SPI object. And rename the QSPI pins to QSPI_xxxx instead of FLASH_xxx. Signed-off-by: robert-hh <robert@hammelrath.com>
This commit is contained in:
@@ -8,9 +8,9 @@ PIN_PB03,LED_RX
|
||||
|
||||
PIN_PA11,D0
|
||||
PIN_PA10,D1
|
||||
PIN_PA14,D2
|
||||
PIN_PA09,D3
|
||||
PIN_PA08,D4
|
||||
PIN_PA08,FLASH_MOSI
|
||||
PIN_PA14,FLASH_MISO
|
||||
PIN_PA09,FLASH_SCK
|
||||
PIN_PA15,D5
|
||||
PIN_PA20,D6
|
||||
PIN_PA21,D7
|
||||
|
||||
|
@@ -28,12 +28,13 @@ PIN_PA17,SCK
|
||||
PIN_PB01,VDIV
|
||||
PIN_PA03,AREF
|
||||
PIN_PB03,NEOPIXEL
|
||||
PIN_PB11,FLASH_CS
|
||||
PIN_PB10,FLASH_SCK
|
||||
PIN_PA08,FLASH_MOSI
|
||||
PIN_PA09,FLASH_MISO
|
||||
PIN_PA10,FLASH_WP
|
||||
PIN_PA11,FLASH_HOLD
|
||||
|
||||
PIN_PB11,QSPI_CS
|
||||
PIN_PB10,QSPI_SCK
|
||||
PIN_PA08,QSPI_D0
|
||||
PIN_PA09,QSPI_D1
|
||||
PIN_PA10,QSPI_D2
|
||||
PIN_PA11,QSPI_D3
|
||||
|
||||
PIN_PA24,USB_DM
|
||||
PIN_PA25,USB_DP
|
||||
|
||||
|
@@ -28,12 +28,13 @@ PIN_PB23,MISO
|
||||
PIN_PA01,SCK
|
||||
PIN_PB02,DOTSTAR_CLK
|
||||
PIN_PB03,DOTSTAR_DATA
|
||||
PIN_PB11,FLASH_CS
|
||||
PIN_PB10,FLASH_SCK
|
||||
PIN_PA08,FLASH_MOSI
|
||||
PIN_PA09,FLASH_MISO
|
||||
PIN_PA10,FLASH_WP
|
||||
PIN_PA11,FLASH_HOLD
|
||||
|
||||
PIN_PB11,QSPI_CS
|
||||
PIN_PB10,QSPI_SCK
|
||||
PIN_PA08,QSPI_D0
|
||||
PIN_PA09,QSPI_D1
|
||||
PIN_PA10,QSPI_D2
|
||||
PIN_PA11,QSPI_D3
|
||||
|
||||
PIN_PA24,USB_DM
|
||||
PIN_PA25,USB_DP
|
||||
|
||||
|
@@ -26,6 +26,15 @@ PIN_PA01,SCK
|
||||
PIN_PB03,DOTSTAR_DATA
|
||||
PIN_PB02,DOTSTAR_CLK
|
||||
|
||||
PIN_PB11,QSPI_CS
|
||||
PIN_PB10,QSPI_SCK
|
||||
PIN_PA08,QSPI_D0
|
||||
PIN_PA09,QSPI_D1
|
||||
PIN_PA10,QSPI_D2
|
||||
PIN_PA11,QSPI_D3
|
||||
|
||||
PIN_PA15,LED
|
||||
|
||||
PIN_PA24,USB_DM
|
||||
PIN_PA25,USB_DP
|
||||
PIN_PA26,USB_SOF
|
||||
|
||||
|
@@ -58,6 +58,13 @@ PIN_PC13,LCD_YD
|
||||
PIN_PC30,MIC
|
||||
PIN_PD11,BUZZER
|
||||
|
||||
PIN_PB11,QSPI_CS
|
||||
PIN_PB10,QSPI_SCK
|
||||
PIN_PA08,QSPI_D0
|
||||
PIN_PA09,QSPI_D1
|
||||
PIN_PA10,QSPI_D2
|
||||
PIN_PA11,QSPI_D3
|
||||
|
||||
PIN_PA15,LED_BLUE
|
||||
PIN_PC05,LED_LCD
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user