You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/06/06 06:21:49 UTC
[GitHub] vrahane closed pull request #1159: syscfg to configure NFC pins to
be GPIO
vrahane closed pull request #1159: syscfg to configure NFC pins to be GPIO
URL: https://github.com/apache/mynewt-core/pull/1159
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/hw/mcu/nordic/nrf52xxx/pkg.yml b/hw/mcu/nordic/nrf52xxx/pkg.yml
index 945a261d74..f568679c6f 100644
--- a/hw/mcu/nordic/nrf52xxx/pkg.yml
+++ b/hw/mcu/nordic/nrf52xxx/pkg.yml
@@ -35,3 +35,5 @@ pkg.ign_files.BSP_NRF52810:
- "hal_spi.c"
- "hal_i2c.c"
+pkg.cflags.NFC_PINS_AS_GPIO:
+ - '-DCONFIG_NFCT_PINS_AS_GPIOS=1'
diff --git a/hw/mcu/nordic/nrf52xxx/syscfg.yml b/hw/mcu/nordic/nrf52xxx/syscfg.yml
index bbf2ad3a07..f8abef6e60 100644
--- a/hw/mcu/nordic/nrf52xxx/syscfg.yml
+++ b/hw/mcu/nordic/nrf52xxx/syscfg.yml
@@ -181,6 +181,10 @@ syscfg.defs:
description: 'DIO3 pin for QSPI'
value: -1
+ NFC_PINS_AS_GPIO:
+ description: 'Use NFC pins as GPIOs instead of NFC functionality'
+ value: 1
+
# The XTAL_xxx definitions are used to set the clock source used for the low
# frequency clock. It is required that at least one of these sources is
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services