Skip to content

Commit d0f1b59

Browse files
committed
nrf: pca10100: disable some unused features to shrink image
This removes some features that are largely unused in order to get the image to fit. Recommended in #2933 (comment) Signed-off-by: Sean Cross <[email protected]>
1 parent 33001f4 commit d0f1b59

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ports/nrf/boards/pca10100/mpconfigboard.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ MCU_CHIP = nrf52833
88
INTERNAL_FLASH_FILESYSTEM = 1
99

1010
CIRCUITPY_AUDIOMP3 = 0
11+
CIRCUITPY_BITBANGIO = 0
1112
CIRCUITPY_BUSIO = 1
13+
CIRCUITPY_COUNTIO = 0
1214
CIRCUITPY_DISPLAYIO = 0
1315
CIRCUITPY_FRAMEBUFFERIO = 0
16+
CIRCUITPY_FREQUENCYIO = 0
17+
CIRCUITPY_I2CSLAVE = 0
1418
CIRCUITPY_NEOPIXEL_WRITE = 0
1519
CIRCUITPY_NVM = 0
1620
CIRCUITPY_PIXELBUF = 0
@@ -20,6 +24,8 @@ CIRCUITPY_RTC = 1
2024
CIRCUITPY_TOUCHIO = 0
2125
CIRCUITPY_ULAB = 0
2226

27+
SUPEROPT_GC = 0
28+
2329
# These defines must be overridden before mpconfigboard.h is included, which is
2430
# why they are passed on the command line.
2531
CFLAGS += -DSPIM3_BUFFER_SIZE=0 -DSOFTDEVICE_RAM_SIZE='(32*1024)'

0 commit comments

Comments
 (0)