diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-03-21 11:22:58 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-03-21 11:22:58 -0400 |
| commit | fe555a4098b422525d9f2edc1191ccfdb9b9718d (patch) | |
| tree | 6a962d80d1187106bbe9ccf0f22f5022b0a11a80 /ports/nrf/mpconfigport.mk | |
| parent | 26262cd4770a6b75a533807676ab3c38b228f009 (diff) | |
Allow NFC pins to be used for other purposes.
Diffstat (limited to 'ports/nrf/mpconfigport.mk')
| -rw-r--r-- | ports/nrf/mpconfigport.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/nrf/mpconfigport.mk b/ports/nrf/mpconfigport.mk index 55c1734b9..badfb6735 100644 --- a/ports/nrf/mpconfigport.mk +++ b/ports/nrf/mpconfigport.mk @@ -27,3 +27,8 @@ CIRCUITPY_RTC = 0 # frequencyio not yet implemented CIRCUITPY_FREQUENCYIO = 0 + +# CircuitPython doesn't yet support NFC so force the NFC antenna pins to be GPIO. +# See https://github.com/adafruit/circuitpython/issues/1300 +# Defined here because system_nrf52840.c doesn't #include any of our own include files. +CFLAGS += -DCONFIG_NFCT_PINS_AS_GPIOS |
