Board Configuration [Required]
About 275 wordsLess than 1 minute
2025-12-17
Currently supported development boards:
| Board Model | Status |
|---|---|
| ESP32-C3 series | ✅ |
| ESP32-S3 series | ✅ |
| Linux series (SBCs) | In progress... |
1. Configure platformio.ini as needed
If you use C3, remove S3 config and enable the C3 block.
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = .
lib_dir = ../libraries2
[env:esp32s3]
platform = espressif32 @~6.10.0
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600 # Upload baud rate (adjust as needed)
; upload_speed = 115200 # Upload baud rate (adjust as needed)
board_build.arduino.partitions = app3M_fat9M_16MB.csv
board_build.arduino.memory_type = qio_opi
build_flags =
-DARDUINO_ESP32_S3R8N16
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_RUNNING_CORE=1
-DARDUINO_EVENT_RUNNING_CORE=1
-Iinclude
-DLV_LVGL_H_INCLUDE_SIMPLE
-Os ; Optimize code size
-ffunction-sections
-fdata-sections
-Wl,--gc-sections ; Remove unused code sections
board_upload.flash_size = 16MB
monitor_filters = esp32_exception_decoder
build_type = debug
; ; C3 configuration
; [env:esp32c3]
; platform = espressif32 @~6.10.0
; board = esp32-c3-devkitm-1
; framework = arduino
; monitor_speed = 115200
; upload_speed = 921600
; build_flags =
; -DARDUINO_ESP32C3
; -DBOARD_HAS_PSRAM=0
; -DARDUINO_USB_MODE=1
; -DARDUINO_USB_CDC_ON_BOOT=1
; -DARDUINO_RUNNING_CORE=0
; -DARDUINO_EVENT_RUNNING_CORE=0
; ; -Wl,-Map,firmware.map ; # Generate linker map file for debug and code-size analysis
; -Os ; # Enable link-time optimization to reduce binary size
; -ffunction-sections
; -fdata-sections
; -Wl,--gc-sections
; board_build.flash_mode = dio
; board_upload.flash_size = 16MB
; board_build.arduino.partitions = app3M_fat9M_16MB.csv
; monitor_filters = esp32_exception_decoder
; build_type = debug2. Configure ESP-AI library options as needed

3. If you use official open-source firmware, also adjust the following
Customize it based on your needs.

End. Enjoy your DIY journey~

