c2d4d0a10b
This commit cleans up the pin generation code, all the pins and their AF (only ADC, for now) are specified in nrf52_af.csv and board use their own csv file to specify which pins are available on that board and if they have any special names.
236 B
236 B
1 | A0 | P0_02 |
---|---|---|
2 | A1 | P0_03 |
3 | A2 | P0_04 |
4 | A3 | P0_05 |
5 | TX | P0_06 |
6 | RX | P0_08 |
7 | NFC1 | P0_09 |
8 | NFC2 | P0_10 |
9 | D11 | P0_11 |
10 | SCK | P0_12 |
11 | MOSI | P0_13 |
12 | MISO | P0_14 |
13 | D15 | P0_15 |
14 | D16 | P0_16 |
15 | LED1 | P0_17 |
16 | LED2 | P0_19 |
17 | DFU | P0_20 |
18 | SDA | P0_25 |
19 | SCL | P0_26 |
20 | D27 | P0_27 |
21 | A4 | P0_28 |
22 | A5 | P0_29 |
23 | A6 | P0_30 |
24 | A7 | P0_31 |