47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
USB_VID = 0x239A
|
|
USB_PID = 0xD1ED
|
|
USB_PRODUCT = "HalloWing M0 Express"
|
|
USB_MANUFACTURER = "Adafruit Industries LLC"
|
|
|
|
CHIP_VARIANT = SAMD21G18A
|
|
CHIP_FAMILY = samd21
|
|
|
|
SPI_FLASH_FILESYSTEM = 1
|
|
EXTERNAL_FLASH_DEVICE_COUNT = 2
|
|
EXTERNAL_FLASH_DEVICES = "W25Q64JV_IQ, GD25Q64C"
|
|
LONGINT_IMPL = NONE
|
|
|
|
# To keep the build small
|
|
CIRCUITPY_AUDIOBUSIO = 0
|
|
CIRCUITPY_BITBANGIO = 0
|
|
CIRCUITPY_COUNTIO = 0
|
|
CIRCUITPY_FREQUENCYIO = 0
|
|
CIRCUITPY_GAMEPAD = 0
|
|
CIRCUITPY_I2CPERIPHERAL = 0
|
|
CIRCUITPY_ROTARYIO = 0
|
|
CIRCUITPY_RTC = 0
|
|
CIRCUITPY_COUNTIO = 0
|
|
CIRCUITPY_VECTORIO = 0
|
|
|
|
CFLAGS_INLINE_LIMIT = 55
|
|
SUPEROPT_GC = 0
|
|
|
|
# Include these Python libraries in firmware.
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_LIS3DH
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel
|
|
|
|
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
|