summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2025-02-08 09:23:11 +0100
committerDamien George <damien@micropython.org>2025-03-03 10:59:26 +1100
commit4cbaab17669b54ddfe8c509eb0f7653706120211 (patch)
treede5898b326c12d3354a0898accc651a5db19b444
parentdaef1c1d146207e6a42219a7d6717df337a11377 (diff)
samd/boards: Add missing TX/RX, SCL/SDA and SCK/MOSI/MISO pin names.
These were missing and are needed to support UART/I2C/SPI default pins. Signed-off-by: robert-hh <robert@hammelrath.com>
-rw-r--r--ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/pins.csv4
-rw-r--r--ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/pins.csv2
-rw-r--r--ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/pins.csv2
-rw-r--r--ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/pins.csv3
-rw-r--r--ports/samd/boards/ADAFRUIT_METRO_M4_EXPRESS/pins.csv3
-rw-r--r--ports/samd/boards/ADAFRUIT_TRINKET_M0/pins.csv8
-rw-r--r--ports/samd/boards/MINISAM_M4/pins.csv6
-rw-r--r--ports/samd/boards/SEEED_WIO_TERMINAL/pins.csv2
-rw-r--r--ports/samd/boards/SEEED_XIAO_SAMD21/pins.csv9
-rw-r--r--ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/pins.csv3
10 files changed, 35 insertions, 7 deletions
diff --git a/ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/pins.csv b/ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/pins.csv
index 8993419a2..f2676693e 100644
--- a/ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/pins.csv
+++ b/ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/pins.csv
@@ -21,8 +21,8 @@ A2,PB09
A3,PA04
A4,PA05
A5,PB02
-TX,PB22
-RX,PB23
+RX,PA11
+TX,PA10
SCL,PA23
SDA,PA22
MOSI,PB10
diff --git a/ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/pins.csv b/ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/pins.csv
index ec7a8bc16..056339de1 100644
--- a/ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/pins.csv
+++ b/ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/pins.csv
@@ -15,6 +15,8 @@ A2,PB08
A3,PB09
A4,PA04
A5,PB06
+RX,PB17
+TX,PB16
SCL,PA13
SDA,PA12
MOSI,PB23
diff --git a/ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/pins.csv b/ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/pins.csv
index 845cefb8a..250e42d9d 100644
--- a/ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/pins.csv
+++ b/ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/pins.csv
@@ -16,6 +16,8 @@ A2,PB09
A3,PA04
A4,PA05
A5,PB02
+RX,PA11
+TX,PA10
SDA,PA22
SCL,PA23
MOSI,PB10
diff --git a/ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/pins.csv b/ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/pins.csv
index c82beccfa..8597815a1 100644
--- a/ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/pins.csv
+++ b/ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/pins.csv
@@ -16,6 +16,9 @@ A2,PB08
A3,PB09
A4,PA04
A5,PA06
+
+RX,PA16
+TX,PA17
SDA,PA12
SCL,PA13
MOSI,PA00
diff --git a/ports/samd/boards/ADAFRUIT_METRO_M4_EXPRESS/pins.csv b/ports/samd/boards/ADAFRUIT_METRO_M4_EXPRESS/pins.csv
index cee4bf02b..aef7391d1 100644
--- a/ports/samd/boards/ADAFRUIT_METRO_M4_EXPRESS/pins.csv
+++ b/ports/samd/boards/ADAFRUIT_METRO_M4_EXPRESS/pins.csv
@@ -21,6 +21,9 @@ D11,PA19
D12,PA17
D13,PA16
+RX,PA23
+TX,PA22
+
SDA,PB02
SCL,PB03
diff --git a/ports/samd/boards/ADAFRUIT_TRINKET_M0/pins.csv b/ports/samd/boards/ADAFRUIT_TRINKET_M0/pins.csv
index 47306f8de..fb1e645cf 100644
--- a/ports/samd/boards/ADAFRUIT_TRINKET_M0/pins.csv
+++ b/ports/samd/boards/ADAFRUIT_TRINKET_M0/pins.csv
@@ -1,3 +1,10 @@
+RX,PA07
+TX,PA06
+SDA,PA08
+SCL,PA09
+MOSI,PA06
+MISO,PA09
+SCK,PA07
D0,PA08
D1,PA02
D2,PA09
@@ -5,7 +12,6 @@ D3,PA07
D4,PA06
DOTSTAR_DATA,PA00
DOTSTAR_CLK,PA01
-
LED,PA10
USB_DM,PA24
diff --git a/ports/samd/boards/MINISAM_M4/pins.csv b/ports/samd/boards/MINISAM_M4/pins.csv
index 3c1ab4c60..d6a3ef803 100644
--- a/ports/samd/boards/MINISAM_M4/pins.csv
+++ b/ports/samd/boards/MINISAM_M4/pins.csv
@@ -7,6 +7,8 @@ A5,PA06
A6,PA07
RX,PA16
TX,PA17
+D0,PA16
+D1,PA17
D3,PA19
D4,PA20
D5,PA21
@@ -15,8 +17,8 @@ BUTTON,PA00
AREF,PA03
SDA,PA12
SCL,PA13
-MOSI,PB22
-MISO,PB23
+MOSI,PB23
+MISO,PB22
SCK,PA01
DOTSTAR_DATA,PB03
DOTSTAR_CLK,PB02
diff --git a/ports/samd/boards/SEEED_WIO_TERMINAL/pins.csv b/ports/samd/boards/SEEED_WIO_TERMINAL/pins.csv
index f263253cb..c335ba2ba 100644
--- a/ports/samd/boards/SEEED_WIO_TERMINAL/pins.csv
+++ b/ports/samd/boards/SEEED_WIO_TERMINAL/pins.csv
@@ -19,6 +19,8 @@ ENABLE_5V,PC14
ENABLE_3V3,PC15
TX,PB26
RX,PB27
+SDA,PA13
+SCL,PA12
SDA0,PA13
SCL0,PA12
SDA1,PA17
diff --git a/ports/samd/boards/SEEED_XIAO_SAMD21/pins.csv b/ports/samd/boards/SEEED_XIAO_SAMD21/pins.csv
index 969c60028..6f70f3308 100644
--- a/ports/samd/boards/SEEED_XIAO_SAMD21/pins.csv
+++ b/ports/samd/boards/SEEED_XIAO_SAMD21/pins.csv
@@ -1,3 +1,11 @@
+RX,PB09
+TX,PB08
+SCL,PA09
+SDA,PA08
+MOSI,PA06
+MISO,PA05
+SCK,PA07
+
A0_D0,PA02
A1_D1,PA04
A2_D2,PA10
@@ -9,7 +17,6 @@ A7_D7,PB09
A8_D8,PA07
A9_D9,PA05
A10_D10,PA06
-
USER_LED,PA17
RX_LED,PA18
TX_LED,PA19
diff --git a/ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/pins.csv b/ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/pins.csv
index 0ae269724..fe47fef27 100644
--- a/ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/pins.csv
+++ b/ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/pins.csv
@@ -15,6 +15,8 @@ A2,PB09
A3,PA04
A4,PA05
A5,PB02
+RX,PA13
+TX,PA12
SDA,PA22
SCL,PA23
MOSI,PB12
@@ -30,7 +32,6 @@ TXLED,PA27
USB_DM,PA24
USB_DP,PA25
-USB_SOF,PA23
SWCLK,PA30
SWDIO,PA31