29 lines
613 B
Makefile
29 lines
613 B
Makefile
LD_FILE = boards/samd21x18-bootloader.ld
|
|
USB_VID = 0x239A
|
|
USB_PID = 0x801D
|
|
USB_PRODUCT = "PewPew 10.2"
|
|
USB_MANUFACTURER = "Radomir Dopieralski"
|
|
|
|
INTERNAL_FLASH_FILESYSTEM = 1
|
|
LONGINT_IMPL = NONE
|
|
|
|
CHIP_VARIANT = SAMD21E18A
|
|
CHIP_FAMILY = samd21
|
|
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/pew-pewpew-standalone-10.x
|
|
|
|
CIRCUITPY_PEW = 1
|
|
CIRCUITPY_ANALOGIO = 1
|
|
CIRCUITPY_MATH = 1
|
|
CIRCUITPY_NEOPIXEL_WRITE = 1
|
|
CIRCUITPY_ROTARYIO = 0
|
|
CIRCUITPY_RTC = 0
|
|
CIRCUITPY_SAMD = 0
|
|
CIRCUITPY_USB_MIDI = 0
|
|
CIRCUITPY_SMALL_BUILD = 1
|
|
|
|
# Tweak inlining depending on language.
|
|
ifeq ($(TRANSLATION), zh_Latn_pinyin)
|
|
CFLAGS_INLINE_LIMIT = 40
|
|
endif
|