diff options
| author | Dan Halbert <halbert@halwitz.org> | 2017-10-03 18:10:13 -0400 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2017-10-08 10:54:46 -0600 |
| commit | ef65ee78c544f0996eeb77ae762d2c4c7ed17057 (patch) | |
| tree | 0452584406ca3acc7fd333f7c5001650f70e5a20 /atmel-samd | |
| parent | f4981677b0b73d286f3af098a4111f8ba6d286bc (diff) | |
Freeze libraries needed by adafruit_circuitplayground library into firmware.
This saves a lot of RAM. Fixes #287.
Also fixed compilation of frozen_mpy.c to use supplied make rule rather than
builtin rule (supplied rule suppresses printing out the gcc command line).
Diffstat (limited to 'atmel-samd')
| -rw-r--r-- | atmel-samd/boards/circuitplayground_express/mpconfigboard.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/atmel-samd/boards/circuitplayground_express/mpconfigboard.mk b/atmel-samd/boards/circuitplayground_express/mpconfigboard.mk index d773f2f60..e8195c90d 100644 --- a/atmel-samd/boards/circuitplayground_express/mpconfigboard.mk +++ b/atmel-samd/boards/circuitplayground_express/mpconfigboard.mk @@ -7,4 +7,7 @@ FLASH_IMPL = spi_flash.c CHIP_VARIANT = SAMD21G18A # Include these Python libraries in firmware. +FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice +FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_LIS3DH FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel +FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Thermistor |
