diff options
| author | Sean Cross <sean@xobs.io> | 2020-04-21 10:02:24 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2020-04-21 10:44:21 +0800 |
| commit | 4ad1cbeea37a514ab37a7c819f6d5e359948c368 (patch) | |
| tree | 5066814759b2eb22146ae02fb28c2720f82b1658 | |
| parent | 066f486b28c38c71f89cbba44e31857125ff243e (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.mk | 4 |
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 |
