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.
25 lines
236 B
Plaintext
25 lines
236 B
Plaintext
A0,P0_02
|
|
A1,P0_03
|
|
A2,P0_04
|
|
A3,P0_05
|
|
TX,P0_06
|
|
RX,P0_08
|
|
NFC1,P0_09
|
|
NFC2,P0_10
|
|
D11,P0_11
|
|
SCK,P0_12
|
|
MOSI,P0_13
|
|
MISO,P0_14
|
|
D15,P0_15
|
|
D16,P0_16
|
|
LED1,P0_17
|
|
LED2,P0_19
|
|
DFU,P0_20
|
|
SDA,P0_25
|
|
SCL,P0_26
|
|
D27,P0_27
|
|
A4,P0_28
|
|
A5,P0_29
|
|
A6,P0_30
|
|
A7,P0_31
|