Profiles, presets and sequences export and import as main's bundles. Zones carry group_ids, preset_group_ids, sequence_ids, content_kind and brightness; profiles seed rainbow as colour_cycle, and deleting a profile also deletes its sequences. Groups, zones and sequences written by older versions are migrated at boot. /api/audio (status, event stream, start/stop, reset, anchor-bar, devices) maps main's audio detector onto the mic's beat detector. Audio start/stop picks whether mic beats or the BPM clock time sequences; the clock's beats also go to the drivers while the mic is off. /ws now greets from a post-handshake callback (httpd does not call the handler for the upgrade). The web UI is main's, plus v2's outputs editor, list search and hostname/static IP settings; the bridge, Wi-Fi AP and led-tool parts are gone. API tests follow main's behaviour (119 pass on the board). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
878 B
Plaintext
24 lines
878 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
|
|
CONFIG_HTTPD_WS_POST_HANDSHAKE_CB_SUPPORT=y
|