summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2020-04-21 10:02:24 +0800
committerSean Cross <sean@xobs.io>2020-04-21 10:44:21 +0800
commit4ad1cbeea37a514ab37a7c819f6d5e359948c368 (patch)
tree5066814759b2eb22146ae02fb28c2720f82b1658
parent066f486b28c38c71f89cbba44e31857125ff243e (diff)
nrf: make rgbmatrix and framebufferio optional
Ports can set CIRCUITPY_RGBMATRIX and CIRCUITPY_FRAMEBUFFERIO to 0 in their .mk file in order to prevent these from being built. This is necessary for resource-constrained devices. Signed-off-by: Sean Cross <sean@xobs.io>
-rw-r--r--ports/nrf/mpconfigport.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/nrf/mpconfigport.mk b/ports/nrf/mpconfigport.mk
index ec6850ebb..342f1384a 100644
--- a/ports/nrf/mpconfigport.mk
+++ b/ports/nrf/mpconfigport.mk
@@ -51,8 +51,8 @@ endif
# frequencyio not yet implemented
CIRCUITPY_FREQUENCYIO = 0
-CIRCUITPY_RGBMATRIX = 1
-CIRCUITPY_FRAMEBUFFERIO = 1
+CIRCUITPY_RGBMATRIX ?= 1
+CIRCUITPY_FRAMEBUFFERIO ?= 1
# nRF52840-specific