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 17:06:33 UTC
[GitHub] mlaz closed pull request #1166: syscfg to enable nRF52 pin reset
mlaz closed pull request #1166: syscfg to enable nRF52 pin reset
URL: https://github.com/apache/mynewt-core/pull/1166
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 f568679c6f..b91b762133 100644
--- a/hw/mcu/nordic/nrf52xxx/pkg.yml
+++ b/hw/mcu/nordic/nrf52xxx/pkg.yml
@@ -37,3 +37,6 @@ pkg.ign_files.BSP_NRF52810:
pkg.cflags.NFC_PINS_AS_GPIO:
- '-DCONFIG_NFCT_PINS_AS_GPIOS=1'
+
+pkg.cflags.GPIO_AS_PIN_RESET:
+ - '-DCONFIG_GPIO_AS_PINRESET=1'
diff --git a/hw/mcu/nordic/nrf52xxx/syscfg.yml b/hw/mcu/nordic/nrf52xxx/syscfg.yml
index f8abef6e60..98c53a504e 100644
--- a/hw/mcu/nordic/nrf52xxx/syscfg.yml
+++ b/hw/mcu/nordic/nrf52xxx/syscfg.yml
@@ -185,6 +185,10 @@ syscfg.defs:
description: 'Use NFC pins as GPIOs instead of NFC functionality'
value: 1
+ GPIO_AS_PIN_RESET:
+ description: 'Enable pin reset'
+ value: 0
+
# 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