micropython/ports/nrf/nrf51_af.csv
Glenn Ruben Bakke 864f671744 nrf: Remove port member from Pin object
In order to be able to support GPIO1 port on nrf52840
the port has been removed from the Pin object.

All pins on port1 will now be incrementally on top of
the pin numbers for gpio0. Hence, Pin 1.00 will become
P32, and Pin 1.15 will become P47.

The modification is done to address the new gpio HAL
interface in nrfx, which resolves the port to be
configured base on a multiple of 32.

The patch also affects the existing devices which does
not have a second GPIO port in the way that the
port indication A and B is removed from Pin generation.
This means that the port which was earlier addressed
as PA0 is now P0, and PA31 is P31.

Also, this patch removes the gpio member which earlier
pointed to the perihperal GPIO base address. This is not
needed anymore, hence removed.
2018-07-18 17:12:26 +10:00

290 B

1P0,P0
2P1,P1,ADC0_IN2
3P2,P2,ADC0_IN3
4P3,P3,ADC0_IN4
5P4,P4,ADC0_IN5
6P5,P5,ADC0_IN6
7P6,P6,ADC0_IN7
8P7,P7
9P8,P8
10P9,P9
11P10,P10
12P11,P11
13P12,P12
14P13,P13
15P14,P14
16P15,P15
17P16,P16
18P17,P17
19P18,P18
20P19,P19
21P20,P20
22P21,P21
23P22,P22
24P23,P23
25P24,P24
26P25,P25
27P26,P26
28P27,P27
29P28,P28
30P29,P29
31P30,P30
32P31,P31