circuitpython/ports/atmel-samd/boards/pewpew_m4/mpconfigboard.mk

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

67 lines
1.6 KiB
Makefile
Raw Normal View History

2019-08-04 08:21:32 -04:00
USB_VID = 0x1d50
USB_PID = 0x60e8
USB_PRODUCT = "PewPew M4"
USB_MANUFACTURER = "Radomir Dopieralski"
CHIP_VARIANT = SAMD51G19A
CHIP_FAMILY = samd51
INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = NONE
2020-04-23 13:33:41 -04:00
CIRCUITPY_FULL_BUILD = 0
2021-07-26 22:15:09 -04:00
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_ALARM = 0
2019-08-04 08:21:32 -04:00
CIRCUITPY_AUDIOBUSIO = 0
2020-07-24 18:27:25 -04:00
CIRCUITPY_AUDIOMP3 = 0
2021-07-26 22:15:09 -04:00
CIRCUITPY_AUDIOPWMIO = 0
2019-08-04 08:21:32 -04:00
CIRCUITPY_BITBANGIO = 0
2020-07-24 18:27:25 -04:00
CIRCUITPY_BITBANG_APA102 = 0
2019-08-04 08:21:32 -04:00
CIRCUITPY_FREQUENCYIO = 0
CIRCUITPY_I2CTARGET = 0
2019-08-04 08:21:32 -04:00
CIRCUITPY_NEOPIXEL_WRITE = 0
2022-10-07 22:35:53 -04:00
CIRCUITPY_ONEWIREIO = 0
CIRCUITPY_PARALLELDISPLAY = 0
2019-08-04 08:21:32 -04:00
CIRCUITPY_PIXELBUF = 0
CIRCUITPY_PS2IO = 0
CIRCUITPY_PULSEIO = 0
2021-07-26 22:15:09 -04:00
CIRCUITPY_PWMIO = 0
2022-10-07 22:35:53 -04:00
CIRCUITPY_RAINBOWIO = 0
2020-07-24 18:27:25 -04:00
CIRCUITPY_ROTARYIO = 0
2019-08-04 08:21:32 -04:00
CIRCUITPY_RTC = 0
2020-07-24 18:27:25 -04:00
CIRCUITPY_SAMD = 0
2019-08-04 08:21:32 -04:00
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_USB_HID = 0
CIRCUITPY_USB_MIDI = 0
CIRCUITPY_VECTORIO = 0
CIRCUITPY_BUSDEVICE = 0
CIRCUITPY_BITMAPTOOLS = 0
2023-02-13 18:04:54 -05:00
CIRCUITPY_GIFIO = 0
CIRCUITPY_WATCHDOG = 0
2019-08-04 08:21:32 -04:00
CIRCUITPY_AUDIOIO = 1
2021-07-26 22:15:09 -04:00
CIRCUITPY_AUDIOMIXER = 1
2019-08-04 08:21:32 -04:00
CIRCUITPY_DISPLAYIO = 1
2021-07-26 22:15:09 -04:00
CIRCUITPY_KEYPAD = 1
2020-07-24 11:00:42 -04:00
CIRCUITPY_MATH = 1
2020-07-24 18:27:25 -04:00
CIRCUITPY_STAGE = 1
2021-07-26 22:15:09 -04:00
CIRCUITPY_SYNTHIO = 1
CIRCUITPY_ZLIB = 1
2019-08-04 08:21:32 -04:00
FROZEN_MPY_DIRS += $(TOP)/frozen/circuitpython-stage/pewpew_m4
CIRCUITPY_DISPLAY_FONT = $(TOP)/ports/atmel-samd/boards/ugame10/brutalist-6.bdf
2020-07-24 18:27:25 -04:00
# Override optimization to keep binary small
2020-07-23 20:27:02 -04:00
OPTIMIZATION_FLAGS = -Os
# We don't have room for the fonts for terminalio for certain languages,
# so turn off terminalio, and if it's off and displayio is on,
# force a clean build.
# Note that we cannot test $(CIRCUITPY_DISPLAYIO) directly with an
# ifeq, because it's not set yet.
ifneq (,$(filter $(TRANSLATION),ja ko ru))
CIRCUITPY_TERMINALIO = 0
RELEASE_NEEDS_CLEAN_BUILD = $(CIRCUITPY_DISPLAYIO)
endif