circuitpython/ports/espressif/boards/lolin_c3_mini/mpconfigboard.mk
2022-07-01 14:50:46 -07:00

22 lines
567 B
Makefile

USB_VID = 0x303A # TODO: I Assume this is Wemos, need to check
USB_PID = 0x80C3 # TODO: Does this board have a new PID?
USB_PRODUCT = "C3 Mini"
USB_MANUFACTURER = "Lolin"
IDF_TARGET = esp32c3
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
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel