circuitpython/ports/nrf/boards
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
..
arduino_primo nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
dvk_bl652 nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
feather52 nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
microbit nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
pca10000 nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
pca10001 nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
pca10028 nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
pca10031 nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
pca10040 nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
pca10056 nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
wt51822_s4at nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
common.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
make-pins.py nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
memory.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf51_prefix.c nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
nrf51x22_256k_16k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf51x22_256k_32k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf52_prefix.c nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
nrf52832_512k_64k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf52832_512k_64k_s132_5.0.0.ld nrf: Fix stack size in ld script and enable MICROPY_STACK_CHECK. 2018-07-18 17:12:25 +10:00
nrf52840_1M_256k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
s110_8.0.0.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
s132_3.0.0.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00