circuitpython/ports/espressif/boards/lolin_s3/mpconfigboard.mk
2022-09-03 11:06:51 +08:00

21 lines
450 B
Makefile

USB_VID = 0x303a
USB_PID = 0x8117
USB_PRODUCT = "LOLIN S3 16MB Flash 8MB PSRAM"
USB_MANUFACTURER = "WEMOS"
IDF_TARGET = esp32s3
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 = 16MB
OPTIMIZATION_FLAGS = -Os
CIRCUITPY_ESP32_CAMERA = 0