samd/boards: Rework the pins.csv files.

Changes are:
- Remove the LED_Pxxx definitions from pins.csv, now that the LED class is
  gone.
- Remove the '-' lines.
- Add default lines for USB and SWCLK, SWDIO.
This commit is contained in:
robert-hh 2022-10-08 21:12:50 +02:00 committed by Damien George
parent a6760bd4ef
commit ac1e31267b
10 changed files with 74 additions and 34 deletions

View File

@ -5,6 +5,9 @@
# Rows for empty entries have to start with '-'
# Empty lines and lines starting with # are ignored
PIN_PA27,LED_TX
PIN_PB03,LED_RX
PIN_PA11,D0
PIN_PA10,D1
PIN_PA14,D2
@ -35,6 +38,8 @@ PIN_PB11,SCK
PIN_PA06,NEOPIXEL
PIN_PA13,FLASH_CS
LED_PA17,LED
LED_PA27,LED_TX
LED_PB03,LED_RX
PIN_PA24,USB_DM
PIN_PA25,USB_DP
PIN_PA30,SWCLK
PIN_PA31,SWDIO

1 # Pin rows contain Pin number and pin name.
5 # Rows for empty entries have to start with '-'
6 # Empty lines and lines starting with # are ignored
7 PIN_PA11,D0 PIN_PA27,LED_TX
8 PIN_PB03,LED_RX
9 PIN_PA11,D0
10 PIN_PA10,D1
11 PIN_PA10,D1 PIN_PA14,D2
12 PIN_PA14,D2 PIN_PA09,D3
13 PIN_PA09,D3 PIN_PA08,D4
38 PIN_PA13,FLASH_CS PIN_PA24,USB_DM
39 LED_PA17,LED PIN_PA25,USB_DP
40 LED_PA27,LED_TX PIN_PA30,SWCLK
41 LED_PB03,LED_RX PIN_PA31,SWDIO
42
43
44
45

View File

@ -7,12 +7,9 @@
PIN_PB17,D0
PIN_PB16,D1
-
-
PIN_PA14,D4
PIN_PA16,D5
PIN_PA18,D6
-
PIN_PB03,D8
PIN_PA19,D9
PIN_PA20,D10
@ -40,4 +37,9 @@ PIN_PA09,FLASH_MISO
PIN_PA10,FLASH_WP
PIN_PA11,FLASH_HOLD
LED_PA17,LED
PIN_PA24,USB_DM
PIN_PA25,USB_DP
PIN_PA26,USB_SOF
PIN_PA30,SWCLK
PIN_PA31,SWDIO

1 # Pin rows contain Pin number and pin name.
7 PIN_PB17,D0
8 PIN_PB16,D1
9 - PIN_PA14,D4
-
PIN_PA14,D4
10 PIN_PA16,D5
11 PIN_PA18,D6
12 - PIN_PB03,D8
PIN_PB03,D8
13 PIN_PA19,D9
14 PIN_PA20,D10
15 PIN_PA21,D11
37 PIN_PA11,FLASH_HOLD
38 LED_PA17,LED PIN_PA24,USB_DM
39 PIN_PA25,USB_DP
40 PIN_PA26,USB_SOF
41 PIN_PA30,SWCLK
42 PIN_PA31,SWDIO
43
44
45

View File

@ -11,9 +11,7 @@ PIN_PA14,D2
PIN_PA09,D3
PIN_PA08,D4
PIN_PA15,D5
-
PIN_PA21,D7
-
PIN_PA07,D9
PIN_PA18,D10
PIN_PA16,D11
@ -37,4 +35,8 @@ PIN_PB03,FLASH_MISO
PIN_PB23,FLASH_SCK
PIN_PA27,FLASH_CS
LED_PA17,LED
PIN_PA24,USB_DM
PIN_PA25,USB_DP
PIN_PA30,SWCLK
PIN_PA31,SWDIO

1 # Pin rows contain Pin number and pin name.
11 PIN_PA08,D4
12 PIN_PA15,D5
13 - PIN_PA21,D7
PIN_PA21,D7
14 - PIN_PA07,D9
PIN_PA07,D9
15 PIN_PA18,D10
16 PIN_PA16,D11
17 PIN_PA19,D12
35 PIN_PA27,FLASH_CS
36 LED_PA17,LED PIN_PA24,USB_DM
37 PIN_PA25,USB_DP
38 PIN_PA30,SWCLK
39 PIN_PA31,SWDIO
40
41
42

View File

@ -11,9 +11,7 @@ PIN_PA07,D2
PIN_PB22,D3
PIN_PA14,D4
PIN_PA15,D5
-
PIN_PA18,D7
-
PIN_PA19,D9
PIN_PA20,D10
PIN_PA21,D11
@ -39,4 +37,9 @@ PIN_PA09,FLASH_MISO
PIN_PA10,FLASH_WP
PIN_PA11,FLASH_HOLD
LED_PA22,LED
PIN_PA24,USB_DM
PIN_PA25,USB_DP
PIN_PA26,USB_SOF
PIN_PA30,SWCLK
PIN_PA31,SWDIO

1 # Pin rows contain Pin number and pin name.
11 PIN_PA14,D4
12 PIN_PA15,D5
13 - PIN_PA18,D7
PIN_PA18,D7
14 - PIN_PA19,D9
PIN_PA19,D9
15 PIN_PA20,D10
16 PIN_PA21,D11
17 PIN_PA23,D12
37 PIN_PA11,FLASH_HOLD
38 LED_PA22,LED PIN_PA24,USB_DM
39 PIN_PA25,USB_DP
40 PIN_PA26,USB_SOF
41 PIN_PA30,SWCLK
42 PIN_PA31,SWDIO
43
44
45

View File

@ -13,4 +13,10 @@ PIN_PA06,D4
PIN_PA00,DOTSTAR_DATA
PIN_PA01,DOTSTAR_CLK
LED_PA10,LED
PIN_PA10,LED
PIN_PA24,USB_DM
PIN_PA25,USB_DP
PIN_PA30,SWCLK
PIN_PA31,SWDIO

1 # Pin rows contain Pin number and pin name.
13 PIN_PA01,DOTSTAR_CLK
14 LED_PA10,LED PIN_PA10,LED
15 PIN_PA24,USB_DM
16 PIN_PA25,USB_DP
17 PIN_PA30,SWCLK
18 PIN_PA31,SWDIO
19
20
21
22

View File

@ -27,4 +27,11 @@ PIN_PA01,SCK
PIN_PB03,DOTSTAR_DATA
PIN_PB02,DOTSTAR_CLK
LED_PA15,LED
PIN_PA15,LED
PIN_PA24,USB_DM
PIN_PA25,USB_DP
PIN_PA26,USB_SOF
PIN_PA30,SWCLK
PIN_PA31,SWDIO

1 # Pin rows contain Pin number and pin name.
27 PIN_PB02,DOTSTAR_CLK
28 LED_PA15,LED PIN_PA15,LED
29 PIN_PA24,USB_DM
30 PIN_PA25,USB_DP
31 PIN_PA26,USB_SOF
32 PIN_PA30,SWCLK
33 PIN_PA31,SWDIO
34
35
36
37

View File

@ -32,8 +32,6 @@ PIN_PB12,EXT2_PIN7
PIN_PB13,EXT2_PIN8
PIN_PB14,EXT2_PIN9
PIN_PB15,EXT2_PIN10
-
-
PIN_PB11,EXT2_PIN13
PIN_PB10,EXT2_PIN14
PIN_PA17,EXT2_PIN15
@ -44,20 +42,21 @@ PIN_PA19,EXT2_PIN18
# EXT3
PIN_PA02,EXT3_PIN3
PIN_PA03,EXT3_PIN4
-
PIN_PA15,EXT3_PIN6
PIN_PA12,EXT3_PIN7
PIN_PA13,EXT3_PIN8
PIN_PA28,EXT3_PIN9
PIN_PA27,EXT3_PIN10
-
-
-
-
PIN_PB17,EXT3_PIN15
PIN_PB22,EXT3_PIN16
PIN_PB16,EXT3_PIN17
PIN_PB23,EXT3_PIN18
LED_PB30,LED
PIN_PB30,LED
PIN_PA24,USB_DM
PIN_PA25,USB_DP
PIN_PA30,SWCLK
PIN_PA31,SWDIO

1 # Pin rows contain Pin number and pin name.
32 PIN_PB15,EXT2_PIN10
33 - PIN_PB11,EXT2_PIN13
34 - PIN_PB10,EXT2_PIN14
PIN_PB11,EXT2_PIN13
PIN_PB10,EXT2_PIN14
35 PIN_PA17,EXT2_PIN15
36 PIN_PA18,EXT2_PIN16
37 PIN_PA16,EXT2_PIN17
42 - PIN_PA15,EXT3_PIN6
43 PIN_PA15,EXT3_PIN6 PIN_PA12,EXT3_PIN7
44 PIN_PA12,EXT3_PIN7 PIN_PA13,EXT3_PIN8
PIN_PA13,EXT3_PIN8
45 PIN_PA28,EXT3_PIN9
46 PIN_PA27,EXT3_PIN10
47 - PIN_PB17,EXT3_PIN15
48 - PIN_PB22,EXT3_PIN16
49 - PIN_PB16,EXT3_PIN17
-
PIN_PB17,EXT3_PIN15
PIN_PB22,EXT3_PIN16
PIN_PB16,EXT3_PIN17
50 PIN_PB23,EXT3_PIN18
51 LED_PB30,LED PIN_PB30,LED
52 PIN_PA24,USB_DM
53 PIN_PA25,USB_DP
54 PIN_PA30,SWCLK
55 PIN_PA31,SWDIO
56
57
58
59
60
61
62

View File

@ -60,5 +60,12 @@ PIN_PC13,LCD_YD
PIN_PC30,MIC
PIN_PD11,BUZZER
LED_PA15,LED_BLUE
LED_PC05,LED_LCD
PIN_PA15,LED_BLUE
PIN_PC05,LED_LCD
PIN_PA24,USB_DM
PIN_PA25,USB_DP
PIN_PA26,USB_SOF
PIN_PA30,SWCLK
PIN_PA31,SWDIO

1 # Pin rows contain Pin number and pin name.
60 PIN_PD11,BUZZER
61 LED_PA15,LED_BLUE PIN_PA15,LED_BLUE
62 LED_PC05,LED_LCD PIN_PC05,LED_LCD
63 PIN_PA24,USB_DM
64 PIN_PA25,USB_DP
65 PIN_PA26,USB_SOF
66 PIN_PA30,SWCLK
67 PIN_PA31,SWDIO
68
69
70
71

View File

@ -17,6 +17,12 @@ PIN_PA07,A8_D8
PIN_PA05,A9_D9
PIN_PA06,A10_D10
LED_PA17,USER_LED
LED_PA18,RX_LED
LED_PA19,TX_LED
PIN_PA17,USER_LED
PIN_PA18,RX_LED
PIN_PA19,TX_LED
PIN_PA24,USB_DM
PIN_PA25,USB_DP
PIN_PA30,SWCLK
PIN_PA31,SWDIO

1 # Pin rows contain Pin number and pin name.
17 PIN_PA06,A10_D10
18 LED_PA17,USER_LED PIN_PA17,USER_LED
19 LED_PA18,RX_LED PIN_PA18,RX_LED
20 LED_PA19,TX_LED PIN_PA19,TX_LED
21 PIN_PA24,USB_DM
22 PIN_PA25,USB_DP
23 PIN_PA30,SWCLK
24 PIN_PA31,SWDIO
25
26
27
28

View File

@ -13,7 +13,6 @@ PIN_PA06,D4
PIN_PA15,D5
PIN_PA20,D6
PIN_PA21,D7
-
PIN_PA07,D9
PIN_PA18,D10
PIN_PA16,D11
@ -34,9 +33,13 @@ PIN_PA08,FLASH_MOSI
PIN_PA09,FLASH_SCK
PIN_PA10,FLASH_CS
PIN_PA11,FLASH_MISO
PIN_PA30,SWDCLK
PIN_PA31,SWDIO
LED_PA17,LED
LED_PB03,RXLED
LED_PA27,TXLED
PIN_PB03,RXLED
PIN_PA27,TXLED
PIN_PA24,USB_DM
PIN_PA25,USB_DP
PIN_PA26,USB_SOF
PIN_PA30,SWCLK
PIN_PA31,SWDIO

1 # Pin rows contain Pin number and pin name.
13 PIN_PA20,D6
14 PIN_PA21,D7
15 - PIN_PA07,D9
PIN_PA07,D9
16 PIN_PA18,D10
17 PIN_PA16,D11
18 PIN_PA19,D12
33 PIN_PA10,FLASH_CS
34 PIN_PA11,FLASH_MISO
35 PIN_PA30,SWDCLK PIN_PB03,RXLED
PIN_PA31,SWDIO
LED_PA17,LED
36 LED_PB03,RXLED PIN_PA27,TXLED
37 LED_PA27,TXLED PIN_PA24,USB_DM
38 PIN_PA25,USB_DP
39 PIN_PA26,USB_SOF
40 PIN_PA30,SWCLK
41 PIN_PA31,SWDIO
42
43
44
45