The Makefile wraps the build, USB and WiFi flashing, the serial monitor and font generation, with toolchain paths that can be overridden. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
896 B
Plaintext
30 lines
896 B
Plaintext
CONFIG_IDF_TARGET="esp32s3"
|
|
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
|
|
|
|
# XIAO ESP32S3 Plus: 16 MB flash, 8 MB octal PSRAM
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
|
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
|
|
|
CONFIG_SPIRAM=y
|
|
CONFIG_SPIRAM_MODE_OCT=y
|
|
CONFIG_SPIRAM_SPEED_80M=y
|
|
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
|
|
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
|
|
# Let WiFi/lwIP buffers go to PSRAM, keep internal RAM for the bounce buffers
|
|
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
|
|
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096
|
|
|
|
# Keep the display running during flash writes / cache misses
|
|
CONFIG_LCD_RGB_ISR_IRAM_SAFE=y
|
|
|
|
# Log over native USB; GPIO43/44 (D6/D7) carry red bits
|
|
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
|
|
|
# Web server
|
|
CONFIG_HTTPD_MAX_REQ_HDR_LEN=1024
|
|
CONFIG_HTTPD_MAX_URI_LEN=512
|
|
CONFIG_LWIP_MAX_SOCKETS=16
|
|
CONFIG_ESP_MAIN_TASK_STACK_SIZE=8192
|