dbd3f15168
2. Add flag INTERNAL_LIBM to mpconfigboard.mk files to signal using lib/libm. 3. Fix floating-point warnings in lib/libm 4. Turn off -finline-limit, no longer needed due to 1. 5. Add explicit flags for SPI_FLASH_FILESYSTEM and INTERNAL_FLASH_FILESYSTEM to mpconfigboard.mk files, so they don't need to know the name of the .c file that implements those. Makefile takes care of checking the flags and including the right files.
14 lines
463 B
Makefile
14 lines
463 B
Makefile
LD_FILE = boards/samd21x18-bootloader-external-flash-crystalless.ld
|
|
USB_VID = 0x239A
|
|
USB_PID = 0x8019
|
|
|
|
SPI_FLASH_FILESYSTEM = 1
|
|
|
|
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
|