One request per line on USB-Serial-JTAG (@api {"id","method","path","body"}),
one @api envelope back; @reboot restarts. Requests run on the httpd task
through the same dispatcher as the WebSocket, so the checks match the web UI
and never race an HTTP handler. Replies go out in chunks under a lock that log
output shares, so a reply over the TX buffer size isn't dropped and log lines
can't land inside one. The primary console moves to USB-Serial-JTAG.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
789 B
Plaintext
14 lines
789 B
Plaintext
CONFIG_IDF_TARGET="esp32c3"
|
|
# The mDNS console CLI needs the console component; the app does not use it.
|
|
CONFIG_MDNS_ENABLE_CONSOLE_CLI=n
|
|
# The chip has 4 MB: two app slots for over-the-air updates (see partitions.csv)
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
|
# 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
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
|
# mDNS opens sockets on both the AP and client interfaces, plus HTTP and DDP. The default 10 runs out and httpd stops accepting.
|
|
CONFIG_LWIP_MAX_SOCKETS=16
|
|
# Primary console on the C3's built-in USB (/dev/ttyACM0): logs and the led-tool config API (usb_cfg.cpp) share it
|
|
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|