Skip to content

Commit c0cee7f

Browse files
committed
ports/samd/boards/../pins.csv: add pin for Grand Central.
Include QSPI pin definitions suggested by @robert-hh Signed-off-by: Graeme Winter <graeme.winter@gmail.com>
1 parent c4a4608 commit c0cee7f

File tree

1 file changed

+107
-41
lines changed
  • ports/samd/boards/ADAFRUIT_GRAND_CENTRAL_M4_EXPRESS

1 file changed

+107
-41
lines changed
Lines changed: 107 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,109 @@
1-
# Pin rows contain Pin number and pin name.
2-
# Pin rows start with PIN_
3-
# If the pin name is omitted, the pin number is added as name.
4-
# Empty lines and lines not starting with PIN_ are ignored
5-
6-
PIN_PA16,D0
7-
PIN_PA17,D1
8-
PIN_PA07,D2
9-
PIN_PB22,D3
10-
PIN_PA14,D4
11-
PIN_PA15,D5
12-
PIN_PA18,D7
13-
PIN_PA19,D9
14-
PIN_PA20,D10
15-
PIN_PA21,D11
16-
PIN_PA23,D12
17-
PIN_PA22,D13
1+
# Pins listed below in order of board pinout picture from Adafruit, with breaks
2+
# corresponding to the same spacing as on the board
3+
4+
# Analogue input (16 pins) and output (first two of these)
5+
186
PIN_PA02,A0
197
PIN_PA05,A1
20-
PIN_PB08,A2
21-
PIN_PB09,A3
22-
PIN_PA04,A4
23-
PIN_PA06,A5
24-
PIN_PA12,SDA
25-
PIN_PA13,SCL
26-
PIN_PA00,MOSI
27-
PIN_PB23,MISO
28-
PIN_PA01,SCK
29-
PIN_PB02,DOTSTAR_CLK
30-
PIN_PB03,DOTSTAR_DATA
31-
PIN_PB11,FLASH_CS
32-
PIN_PB10,FLASH_SCK
33-
PIN_PA08,FLASH_MOSI
34-
PIN_PA09,FLASH_MISO
35-
PIN_PA10,FLASH_WP
36-
PIN_PA11,FLASH_HOLD
37-
38-
PIN_PA24,USB_DM
39-
PIN_PA25,USB_DP
40-
PIN_PA26,USB_SOF
41-
42-
PIN_PA30,SWCLK
43-
PIN_PA31,SWDIO
8+
PIN_PB03,A2
9+
PIN_PC00,A3
10+
PIN_PC01,A4
11+
PIN_PC02,A5
12+
PIN_PC03,A6
13+
PIN_PB04,A7
14+
15+
16+
PIN_PB05,A8
17+
PIN_PB06,A9
18+
PIN_PB07,A10
19+
PIN_PB08,A11
20+
PIN_PB09,A12
21+
PIN_PA04,A13
22+
PIN_PA06,A14
23+
PIN_PA07,A15
24+
25+
# Big digital block at bottom of board
26+
27+
PIN_PD12,D22
28+
PIN_PA15,D23
29+
PIN_PC17,D24
30+
PIN_PC16,D25
31+
PIN_PA12,D26
32+
PIN_PA13,D27
33+
PIN_PA14,D28
34+
PIN_PB19,D29
35+
PIN_PA23,D30
36+
PIN_PA22,D31
37+
PIN_PA21,D32
38+
PIN_PA20,D33
39+
PIN_PA19,D34
40+
PIN_PA18,D35
41+
PIN_PA17,D36
42+
PIN_PA16,D37
43+
PIN_PB15,D38
44+
PIN_PB14,D39
45+
PIN_PC13,D40
46+
PIN_PC12,D41
47+
PIN_PC15,D42
48+
PIN_PC14,D43
49+
PIN_PC11,D44
50+
PIN_PC10,D45
51+
PIN_PC06,D46
52+
PIN_PC07,D47
53+
PIN_PC04,D48
54+
PIN_PC05,D49
55+
PIN_PD11,D50
56+
PIN_PD08,D51
57+
PIN_PD09,D52
58+
PIN_PD10,D53
59+
60+
# Digital row down other side of board - N.B. diplicates
61+
62+
PIN_PC30,LED_TX
63+
PIN_PC31,LED_RX
64+
PIN_PC24,NEOPIXEL
65+
66+
PIN_PB21,SCL
67+
PIN_PB20,SDA
68+
PIN_PA03,AREF
69+
PIN_PB01,D13
70+
PIN_PB00,D12
71+
PIN_PB23,D11
72+
PIN_PB22,D10
73+
PIN_PB02,D9
74+
PIN_PB18,D8
75+
76+
PIN_PD21,D7
77+
PIN_PD20,D6
78+
PIN_PC21,D5
79+
PIN_PC20,D4
80+
PIN_PC19,D3
81+
PIN_PC18,D2
82+
PIN_PB24,D1
83+
PIN_PB25,D0
84+
85+
PIN_PB16,D14
86+
PIN_PB17,D15
87+
PIN_PC22,D16
88+
PIN_PC23,D17
89+
PIN_PB12,D18
90+
PIN_PB13,D19
91+
PIN_PB20,D20
92+
PIN_PB21,D21
93+
94+
PIN_PB26,SD_MOSI
95+
PIN_PB27,SD_SCK
96+
PIN_PA28,SD_CS
97+
PIN_PA29,SD_MISO
98+
PIN_PA31,SD_CARD_DETECT
99+
100+
101+
# QSPI flash
102+
103+
PIN_PB11,QSPI_CS
104+
PIN_PB10,QSPI_SCK
105+
PIN_PA08,QSPI_D0
106+
PIN_PA09,QSPI_D1
107+
PIN_PA10,QSPI_D2
108+
PIN_PA11,QSPI_D3
109+

0 commit comments

Comments
 (0)