From c3afafd1ecc3ecd29e47c37a4760741faa81dfb8 Mon Sep 17 00:00:00 2001 From: robert-hh Date: Sun, 1 Jan 2023 16:48:00 +0100 Subject: [PATCH] samd/boards: Clean up comments and some pins in pins.csv files. Remove two SPARKFUN_SAMD51_THINGS_PLUS pin definitions. There were definitions of TXD and RXD, but these pins do not exist on the board. They were only shown in the schematics. Also remove any reference to LED_. This is just a text change, no functional change. --- ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/pins.csv | 2 -- ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/pins.csv | 4 +--- ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/pins.csv | 4 +--- ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/pins.csv | 4 +--- ports/samd/boards/ADAFRUIT_TRINKET_M0/pins.csv | 4 +--- ports/samd/boards/MINISAM_M4/pins.csv | 4 +--- ports/samd/boards/SAMD21_XPLAINED_PRO/pins.csv | 4 +--- ports/samd/boards/SEEED_WIO_TERMINAL/pins.csv | 4 +--- ports/samd/boards/SEEED_XIAO_SAMD21/pins.csv | 4 +--- ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/pins.csv | 6 +----- 10 files changed, 9 insertions(+), 31 deletions(-) diff --git a/ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/pins.csv b/ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/pins.csv index 45b05c2694..35b6d1fd4e 100644 --- a/ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/pins.csv +++ b/ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/pins.csv @@ -1,8 +1,6 @@ # Pin rows contain Pin number and pin name. # Pin rows start with PIN_ -# LED rows start with LED_ # If the pin name is omitted, the pin number is added as name. -# Rows for empty entries have to start with '-' # Empty lines and lines starting with # are ignored PIN_PA27,LED_TX diff --git a/ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/pins.csv b/ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/pins.csv index ca58a4be79..ad8449ac9e 100644 --- a/ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/pins.csv +++ b/ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/pins.csv @@ -1,9 +1,7 @@ # Pin rows contain Pin number and pin name. # Pin rows start with PIN_ -# LED rows start with LED_ # If the pin name is omitted, the pin number is added as name. -# Rows for empty entries have to start with '-' -# Empty lines and lines starting with PIN_ or LED_ are ignored +# Empty lines and lines not starting with PIN_ are ignored PIN_PB17,D0 PIN_PB16,D1 diff --git a/ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/pins.csv b/ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/pins.csv index e93e00ab9c..04b1a717bd 100644 --- a/ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/pins.csv +++ b/ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/pins.csv @@ -1,9 +1,7 @@ # Pin rows contain Pin number and pin name. # Pin rows start with PIN_ -# LED rows start with LED_ # If the pin name is omitted, the pin number is added as name. -# Rows for empty entries have to start with '-' -# Empty lines and lines not starting with PIN_ or LED_ are ignored +# Empty lines and lines not starting with PIN_ are ignored PIN_PA11,D0 PIN_PA10,D1 diff --git a/ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/pins.csv b/ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/pins.csv index 3dee9bf4c3..43c8e9a64a 100644 --- a/ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/pins.csv +++ b/ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/pins.csv @@ -1,9 +1,7 @@ # Pin rows contain Pin number and pin name. # Pin rows start with PIN_ -# LED rows start with LED_ # If the pin name is omitted, the pin number is added as name. -# Rows for empty entries have to start with '-' -# Empty lines and lines starting with # are ignored +# Empty lines and lines not starting with PIN_ are ignored PIN_PA16,D0 PIN_PA17,D1 diff --git a/ports/samd/boards/ADAFRUIT_TRINKET_M0/pins.csv b/ports/samd/boards/ADAFRUIT_TRINKET_M0/pins.csv index 95f76815f9..b5f1c9801b 100644 --- a/ports/samd/boards/ADAFRUIT_TRINKET_M0/pins.csv +++ b/ports/samd/boards/ADAFRUIT_TRINKET_M0/pins.csv @@ -1,9 +1,7 @@ # Pin rows contain Pin number and pin name. # Pin rows start with PIN_ -# LED rows start with LED_ # If the pin name is omitted, the pin number is added as name. -# Rows for empty entries have to start with '-' -# Empty lines and lines starting with # are ignored +# Empty lines and lines not starting with PIN_ are ignored PIN_PA08,D0 PIN_PA02,D1 diff --git a/ports/samd/boards/MINISAM_M4/pins.csv b/ports/samd/boards/MINISAM_M4/pins.csv index f6d0ab657f..f676c290a0 100644 --- a/ports/samd/boards/MINISAM_M4/pins.csv +++ b/ports/samd/boards/MINISAM_M4/pins.csv @@ -1,9 +1,7 @@ # Pin rows contain Pin number and pin name. # Pin rows start with PIN_ -# LED rows start with LED_ # If the pin name is omitted, the pin number is added as name. -# Rows for empty entries have to start with '-' -# Empty lines and lines starting with # are ignored +# Empty lines and lines not starting with PIN_ are ignored PIN_PA02,A0_D9 PIN_PB08,A1_D10 diff --git a/ports/samd/boards/SAMD21_XPLAINED_PRO/pins.csv b/ports/samd/boards/SAMD21_XPLAINED_PRO/pins.csv index bd0757d564..5990c373bf 100644 --- a/ports/samd/boards/SAMD21_XPLAINED_PRO/pins.csv +++ b/ports/samd/boards/SAMD21_XPLAINED_PRO/pins.csv @@ -1,9 +1,7 @@ # Pin rows contain Pin number and pin name. # Pin rows start with PIN_ -# LED rows start with LED_ # If the pin name is omitted, the pin number is added as name. -# Rows for empty entries have to start with '-' -# Empty lines and lines starting with # are ignored +# Empty lines and lines not starting with PIN_ are ignored # EXT1 PIN_PB00,EXT1_PIN3 diff --git a/ports/samd/boards/SEEED_WIO_TERMINAL/pins.csv b/ports/samd/boards/SEEED_WIO_TERMINAL/pins.csv index 4db71cc4c1..622de4c6c5 100644 --- a/ports/samd/boards/SEEED_WIO_TERMINAL/pins.csv +++ b/ports/samd/boards/SEEED_WIO_TERMINAL/pins.csv @@ -1,9 +1,7 @@ # Pin rows contain Pin number and pin name. # Pin rows start with PIN_ -# LED rows start with LED_ # If the pin name is omitted, the pin number is added as name. -# Rows for empty entries have to start with '-' -# Empty lines and lines starting with # are ignored +# Empty lines and lines not starting with PIN_ are ignored PIN_PB08,A0_D0 PIN_PB09,A1_D1 diff --git a/ports/samd/boards/SEEED_XIAO_SAMD21/pins.csv b/ports/samd/boards/SEEED_XIAO_SAMD21/pins.csv index a06d3ac6ac..2f1c180e8a 100644 --- a/ports/samd/boards/SEEED_XIAO_SAMD21/pins.csv +++ b/ports/samd/boards/SEEED_XIAO_SAMD21/pins.csv @@ -1,9 +1,7 @@ # Pin rows contain Pin number and pin name. # Pin rows start with PIN_ -# LED rows start with LED_ # If the pin name is omitted, the pin number is added as name. -# Rows for empty entries have to start with '-' -# Empty lines and lines starting with # are ignored +# Empty lines and lines not starting with PIN_ are ignored PIN_PA02,A0_D0 PIN_PA04,A1_D1 diff --git a/ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/pins.csv b/ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/pins.csv index dfd6641333..d807b505a7 100644 --- a/ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/pins.csv +++ b/ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/pins.csv @@ -1,14 +1,10 @@ # Pin rows contain Pin number and pin name. # Pin rows start with PIN_ -# LED rows start with LED_ # If the pin name is omitted, the pin number is added as name. -# Rows for empty entries have to start with '-' -# Empty lines and lines not starting with PIN_ or LED_ are ignored +# Empty lines and lines not starting with PIN_ are ignored PIN_PA13,D0 PIN_PA12,D1 -PIN_PB23,RXD -PIN_PB22,TXD PIN_PA06,D4 PIN_PA15,D5 PIN_PA20,D6