2018-01-03 16:49:38 -05:00
|
|
|
LD_FILE = boards/samd21x18-bootloader-external-flash-crystalless.ld
|
2016-11-28 22:21:40 -05:00
|
|
|
USB_VID = 0x239A
|
2017-05-29 17:35:38 -04:00
|
|
|
USB_PID = 0x8019
|
2017-10-26 19:53:25 -04:00
|
|
|
USB_PRODUCT = "CircuitPlayground Express"
|
|
|
|
USB_MANUFACTURER = "Adafruit Industries LLC"
|
2016-11-28 22:21:40 -05:00
|
|
|
|
2018-01-02 21:25:41 -05:00
|
|
|
SPI_FLASH_FILESYSTEM = 1
|
2018-10-19 21:46:22 -04:00
|
|
|
EXTERNAL_FLASH_DEVICE_COUNT = 2
|
|
|
|
EXTERNAL_FLASH_DEVICES = "S25FL216K, GD25Q16C"
|
2018-05-22 08:04:14 -04:00
|
|
|
LONGINT_IMPL = MPZ
|
2016-11-28 22:21:40 -05:00
|
|
|
|
2019-02-15 09:52:45 -05:00
|
|
|
# Make room for frozen libs.
|
|
|
|
CIRCUITPY_DISPLAYIO = 0
|
2019-03-01 23:46:57 -05:00
|
|
|
CIRCUITPY_FREQUENCYIO = 0
|
2019-03-20 14:36:24 -04:00
|
|
|
CIRCUITPY_I2CSLAVE = 0
|
2019-02-15 09:52:45 -05:00
|
|
|
|
2016-11-28 22:21:40 -05:00
|
|
|
CHIP_VARIANT = SAMD21G18A
|
2017-09-22 21:05:51 -04:00
|
|
|
CHIP_FAMILY = samd21
|
2017-08-23 14:05:59 -04:00
|
|
|
|
|
|
|
# Include these Python libraries in firmware.
|
2018-01-02 21:25:41 -05:00
|
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
|
2018-05-04 08:44:33 -04:00
|
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_CircuitPlayground
|
|
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
|
2018-01-02 21:25:41 -05:00
|
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_LIS3DH
|
|
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel
|
|
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Thermistor
|
2018-11-03 14:42:27 -04:00
|
|
|
|
2019-04-12 18:25:48 -04:00
|
|
|
# Tweak inlining depending on language.
|
|
|
|
ifeq ($(TRANSLATION), zh_Latn_pinyin)
|
2019-06-11 18:46:06 -04:00
|
|
|
CFLAGS_INLINE_LIMIT = 23
|
2019-05-24 15:32:24 -04:00
|
|
|
RELEASE_NEEDS_CLEAN_BUILD = 1
|
2019-04-12 18:25:48 -04:00
|
|
|
else
|
2019-06-11 18:46:06 -04:00
|
|
|
CFLAGS_INLINE_LIMIT = 35
|
2019-04-12 18:25:48 -04:00
|
|
|
endif
|