Skip to content

Commit 3c54e2c

Browse files
committed
TEMPORARY changes to get build to work on all boards. Make space on CPX; turn off -finline-limit
1 parent fabaa2e commit 3c54e2c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

atmel-samd/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ else
102102
# There is no simple default value, though.
103103
ifeq ($(FLASH_IMPL),internal_flash.c)
104104
ifeq ($(CHIP_FAMILY), samd21)
105-
CFLAGS += -finline-limit=19
105+
### TODO(dhalbert): disable for now; breaks things in 3.0.0 build(e.g. deinit checking is disabled)
106+
# CFLAGS += -finline-limit=19
106107
endif
107108
endif
108109
CFLAGS += -flto

atmel-samd/boards/circuitplayground_express/mpconfigboard.mk

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ CHIP_VARIANT = SAMD21G18A
99
CHIP_FAMILY = samd21
1010

1111
# Include these Python libraries in firmware.
12-
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
13-
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_LIS3DH
12+
### TODO(halbert): disable some of these frozen modules; they don't fit in 3.0.0 build while internalfs
13+
### is in use
14+
###FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
15+
###FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_LIS3DH
1416
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel
15-
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Thermistor
17+
###FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Thermistor

0 commit comments

Comments
 (0)