Profiles seed presets, a default zone and a palette, and clone with their own copies; deleting a profile removes what it owned. Zones get the v1 list shape, set-current, current, clone and content-fragment. Devices are keyed by MAC with v1 validation and identify. Patterns: definitions, OTA file and manifest, upload, driver, and send over ESP-NOW (the led-driver pattern sources are embedded in the firmware). Pixel outputs get v1 validation and a DDP/Art-Net/sACN test pattern. Sequences, palettes and settings follow v1 replies and validation, and /ws forwards browser messages to the drivers. The resource handlers move out of api.c into res_*.c, patterns.c and outputs.c. cJSON now allocates from PSRAM: the store had grown enough to starve internal RAM and abort the mic at boot. /status reports free_internal. The Wi-Fi AP and led-tool routes are left out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
834 B
Plaintext
23 lines
834 B
Plaintext
CONFIG_IDF_TARGET="esp32s3"
|
|
# XIAO ESP32S3 USB-C is wired to the native USB Serial/JTAG
|
|
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
|
CONFIG_ETH_USE_SPI_ETHERNET=y
|
|
CONFIG_ETH_SPI_ETHERNET_W5500=y
|
|
# XIAO ESP32S3 Plus: 16 MB flash and 8 MB octal PSRAM (ESP32-S3R8)
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
|
CONFIG_SPIRAM=y
|
|
CONFIG_SPIRAM_MODE_OCT=y
|
|
CONFIG_SPIRAM_SPEED_80M=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
|
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
|
|
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
|
|
CONFIG_FREERTOS_HZ=1000
|
|
CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7
|
|
CONFIG_ESPNOW_CHANNEL=5
|
|
CONFIG_BEAT_TEST_GPIO=4
|
|
# A new OTA image must confirm itself (ota_confirm_later) or the bootloader goes back to the old one
|
|
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y
|
|
# /ws (browser websocket)
|
|
CONFIG_HTTPD_WS_SUPPORT=y
|