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.
49 lines
328 B
Plaintext
49 lines
328 B
Plaintext
P0_00
|
|
P0_01
|
|
P0_02,AIN0
|
|
P0_03,AIN1
|
|
P0_04,AIN2
|
|
P0_05,AIN3
|
|
P0_06
|
|
P0_07
|
|
P0_08
|
|
P0_09
|
|
P0_10
|
|
P0_11
|
|
P0_12
|
|
P0_13
|
|
P0_14
|
|
P0_15
|
|
P0_16
|
|
P0_17
|
|
P0_18
|
|
P0_19
|
|
P0_20
|
|
P0_21
|
|
P0_22
|
|
P0_23
|
|
P0_24
|
|
P0_25
|
|
P0_26
|
|
P0_27
|
|
P0_28,AIN4
|
|
P0_29,AIN5
|
|
P0_30,AIN6
|
|
P0_31,AIN7
|
|
P1_00
|
|
P1_01
|
|
P1_02
|
|
P1_03
|
|
P1_04
|
|
P1_05
|
|
P1_06
|
|
P1_07
|
|
P1_08
|
|
P1_09
|
|
P1_10
|
|
P1_11
|
|
P1_12
|
|
P1_13
|
|
P1_14
|
|
P1_15
|