summaryrefslogtreecommitdiff
path: root/ports/nrf/mpconfigport.mk
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-11-22 15:44:51 -0500
committerDan Halbert <halbert@halwitz.org>2019-11-22 15:44:51 -0500
commit13375d16f11d86f8c7c77e6be209d914d35b6372 (patch)
tree63144b746ba56fad2d5c1132c457f7912378c30c /ports/nrf/mpconfigport.mk
parente18d3e0f76ecd2d51c9f86e1430fe86aae7b754b (diff)
change mpconfigport.mk files so they can be overriden by mpconfigboard.mk
Diffstat (limited to 'ports/nrf/mpconfigport.mk')
-rw-r--r--ports/nrf/mpconfigport.mk17
1 files changed, 14 insertions, 3 deletions
diff --git a/ports/nrf/mpconfigport.mk b/ports/nrf/mpconfigport.mk
index 02bde3eff..d070978b7 100644
--- a/ports/nrf/mpconfigport.mk
+++ b/ports/nrf/mpconfigport.mk
@@ -11,20 +11,31 @@ USB_SERIAL_NUMBER_LENGTH = 16
LONGINT_IMPL = MPZ
# Audio via PWM
+ifndef CIRCUITPY_AUDIOCORE
CIRCUITPY_AUDIOCORE = 1
+endif
+
CIRCUITPY_AUDIOIO = 0
+
+ifndef CIRCUITPY_AUDIOMIXER
CIRCUITPY_AUDIOMIXER = 1
+endif
+
+ifndef CIRCUITPY_AUDIOPWMIO
CIRCUITPY_AUDIOPWMIO = 1
+endif
+
+ifndef CIRCUITPY_AUDIOBUSIO
CIRCUITPY_AUDIOBUSIO = 1
+endif
# No I2CSlave implementation
CIRCUITPY_I2CSLAVE = 0
-# enable NVM
-CIRCUITPY_NVM = 1
-
# enable RTC
+ifndef CIRCUITPY_RTC
CIRCUITPY_RTC = 1
+endif
# frequencyio not yet implemented
CIRCUITPY_FREQUENCYIO = 0