2018-07-28 20:50:35 -04:00
|
|
|
USB_VID = 0x239A
|
|
|
|
USB_PID = 0xD1ED
|
|
|
|
USB_PRODUCT = "HalloWing M0 Express"
|
|
|
|
USB_MANUFACTURER = "Adafruit Industries LLC"
|
|
|
|
|
2019-06-12 11:08:22 -04:00
|
|
|
CHIP_VARIANT = SAMD21G18A
|
|
|
|
CHIP_FAMILY = samd21
|
|
|
|
|
2018-07-28 20:50:35 -04:00
|
|
|
SPI_FLASH_FILESYSTEM = 1
|
2018-10-19 21:46:22 -04:00
|
|
|
EXTERNAL_FLASH_DEVICE_COUNT = 2
|
|
|
|
EXTERNAL_FLASH_DEVICES = "W25Q64JV_IQ, GD25Q64C"
|
2020-08-12 13:29:30 -04:00
|
|
|
LONGINT_IMPL = NONE
|
2018-07-28 20:50:35 -04:00
|
|
|
|
2019-04-01 12:18:25 -04:00
|
|
|
# To keep the build small
|
2019-04-09 15:01:00 -04:00
|
|
|
CIRCUITPY_AUDIOBUSIO = 0
|
2019-07-17 17:03:00 -04:00
|
|
|
CIRCUITPY_BITBANGIO = 0
|
2020-08-12 13:29:30 -04:00
|
|
|
CIRCUITPY_COUNTIO = 0
|
2019-08-22 18:19:45 -04:00
|
|
|
CIRCUITPY_FREQUENCYIO = 0
|
|
|
|
CIRCUITPY_GAMEPAD = 0
|
2020-06-23 09:45:15 -04:00
|
|
|
CIRCUITPY_I2CPERIPHERAL = 0
|
2019-08-22 18:19:45 -04:00
|
|
|
CIRCUITPY_ROTARYIO = 0
|
|
|
|
CIRCUITPY_RTC = 0
|
2020-05-05 02:04:28 -04:00
|
|
|
CIRCUITPY_COUNTIO = 0
|
2020-05-12 18:23:00 -04:00
|
|
|
CIRCUITPY_VECTORIO = 0
|
2019-08-22 18:19:45 -04:00
|
|
|
|
2020-05-08 22:51:21 -04:00
|
|
|
CFLAGS_INLINE_LIMIT = 55
|
2019-06-12 11:08:22 -04:00
|
|
|
SUPEROPT_GC = 0
|
2018-07-28 20:50:35 -04:00
|
|
|
|
|
|
|
# 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
|
2020-08-12 13:29:30 -04:00
|
|
|
|
|
|
|
CFLAGS_BOARD = --param max-inline-insns-auto=15
|
|
|
|
ifeq ($(TRANSLATION), ja)
|
|
|
|
RELEASE_NEEDS_CLEAN_BUILD = 1
|
|
|
|
CFLAGS_INLINE_LIMIT = 35
|
|
|
|
endif
|
|
|
|
ifeq ($(TRANSLATION), zh_Latn_pinyin)
|
|
|
|
RELEASE_NEEDS_CLEAN_BUILD = 1
|
|
|
|
CFLAGS_INLINE_LIMIT = 35
|
|
|
|
endif
|
|
|
|
ifeq ($(TRANSLATION), de_DE)
|
|
|
|
RELEASE_NEEDS_CLEAN_BUILD = 1
|
|
|
|
CFLAGS_INLINE_LIMIT = 35
|
|
|
|
SUPEROPT_VM = 0
|
|
|
|
endif
|