10000 nrf: make rgbmatrix and framebufferio optional · domdfcoding/circuitpython@4ad1cbe · GitHub
[go: up one dir, main page]

Skip to content

Commit 4ad1cbe

Browse files
committed
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>
1 parent 066f486 commit 4ad1cbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/nrf/mpconfigport.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ endif
5151
# frequencyio not yet implemented
5252
CIRCUITPY_FREQUENCYIO = 0
5353

54-
CIRCUITPY_RGBMATRIX = 1
55-
CIRCUITPY_FRAMEBUFFERIO = 1
54+
CIRCUITPY_RGBMATRIX ?= 1
55+
CIRCUITPY_FRAMEBUFFERIO ?= 1
5656

5757
# nRF52840-specific
5858

0 commit comments

Comments
 (0)
0