circuitpython/ports/espressif/boards/unexpectedmaker_tinys2/mpconfigboard.mk
microDev 7dda3ec91c
switch to IDF_TARGET for soc dependent stuff
Co-authored-by: Seon Rozenblum <seon@unexpectedmaker.com>
2021-09-18 19:49:32 +05:30

25 lines
542 B
Makefile

USB_VID = 0x303A
USB_PID = 0x8002
USB_PRODUCT = "TinyS2"
USB_MANUFACTURER = "UnexpectedMaker"
IDF_TARGET = esp32s2
INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = MPZ
# The default queue depth of 16 overflows on release builds,
# so increase it to 32.
CFLAGS += -DCFG_TUD_TASK_QUEUE_SZ=32
CIRCUITPY_ESP_FLASH_MODE=qio
CIRCUITPY_ESP_FLASH_FREQ=80m
CIRCUITPY_ESP_FLASH_SIZE=4MB
CIRCUITPY_BITBANG_NEOPIXEL = 1
CIRCUITPY_STAGE = 1
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel