- Convert all Serial.println/printf debug logging to ESP_LOGE/W/I/D - Add TAG-based log identification (server/client) - Lower CORE_DEBUG_LEVEL from 5 to 3 for production - Keep Serial.printf for USB serial protocol commands (KEY?, VERSION?, etc.)
38 lines
1 KiB
INI
38 lines
1 KiB
INI
[env:s3lite-server]
|
|
platform = espressif32@6.7.0
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
board_build.arduino.memory_type = qio_qspi
|
|
build_flags =
|
|
-DESP32S3
|
|
-DCORE_DEBUG_LEVEL=3
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
|
-DARDUINO_USB_MODE=1
|
|
lib_deps =
|
|
fastled/FastLED@^3
|
|
h2zero/NimBLE-Arduino@^2
|
|
upload_port = /dev/serial/by-id/usb-Espressif_USB_JTAG_serial_debug_unit_44:1B:F6:F4:CF:14-if00
|
|
upload_speed = 115200
|
|
upload_flags = --no-stub
|
|
build_src_filter = +<main.cpp> -<client.cpp>
|
|
extra_scripts = pre:tools/pio_version_pre.py
|
|
|
|
[env:s3lite-client]
|
|
platform = espressif32@6.7.0
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
board_build.arduino.memory_type = qio_qspi
|
|
build_flags =
|
|
-DESP32S3
|
|
-DCORE_DEBUG_LEVEL=3
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
|
-DARDUINO_USB_MODE=1
|
|
-DDEVICE_ID=1
|
|
lib_deps =
|
|
fastled/FastLED@^3
|
|
h2zero/NimBLE-Arduino@^2
|
|
upload_port = /dev/ttyACM2
|
|
upload_speed = 115200
|
|
upload_flags = --no-stub
|
|
build_src_filter = +<client.cpp> -<main.cpp>
|
|
extra_scripts = pre:tools/pio_version_pre.py
|