; 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] default_envs = esp32devdbg [env] platform = espressif32 @ 5.4.0 framework = arduino lib_deps = bblanchon/ArduinoJson@^7.2.2 lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7 knolleary/PubSubClient@^2.8 ; esp32async/ESPAsyncWebServer@^3.10.3 ; esp32async/AsyncTCP@^3.4.10 ; 4. ESP32-C6 / Arduino 3.0 Compatible Async Stack (CRITICAL) https://github.com/mathieucarbou/AsyncTCP.git https://github.com/mathieucarbou/ESPAsyncWebServer.git extra_scripts = pre:minify.py post:archive_elf.py board_build.filesystem = littlefs build_flags = -DCORE_DEBUG_LEVEL=1 -DCONFIG_ESP_COREDUMP_ENABLE_TO_FLASH=1 -DCONFIG_ESP_COREDUMP_DATA_FORMAT_ELF=1 -DCONFIG_ESP_COREDUMP_CHECKSUM_CRC32=1 -DCONFIG_ESP_TASK_WDT_PANIC=1 -DCONFIG_ESP_COREDUMP_DECODE_INFO=1 monitor_speed = 115200 monitor_filters = time esp32_exception_decoder log2file [env:esp32dev] board = esp32dev board_build.partitions = esp32_3MB.csv [env:esp32devdbg] board = esp32dev build_type = debug board_build.partitions = esp32_3MB.csv [env:esp32c3] board = esp32-c3-devkitm-1 board_build.partitions = esp32_3MB.csv [env:esp32s3] board = esp32-s3-devkitc-1 [env:esp32c6] ; platform = https://github.com/mnowak32/platform-espressif32.git#boards/seeed_xiao_esp32c6 ; platform_packages = ; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.4 ; framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.4/esp32-arduino-libs-3.0.4.zip ; board = seeed_xiao_esp32c6 ; board_build.partitions = esp32_3MB.csv ; build_flags = ; ${env.build_flags} ; -I${platformio.packages_dir}/framework-arduinoespressif32/libraries/Network/src ; platform = espressif32 ; Not working platform = https://github.com/pioarduino/platform-espressif32 # Ensure we are using the 3.0+ core ; platform_packages = ; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.7 ; framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.7/esp32-arduino-libs-3.0.7.zip board = seeed_xiao_esp32c6 ; board = esp32-c6-devkitc-1 lib_deps = bblanchon/ArduinoJson@^7.2.2 lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7 knolleary/PubSubClient@^2.8 https://github.com/ESP32Async/AsyncTCP.git https://github.com/ESP32Async/ESPAsyncWebServer.git ; platform_packages = ; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.7 board_build.partitions = esp32_3MB.csv build_flags = ${env.build_flags} -I${platformio.packages_dir}/framework-arduinoespressif32/libraries/Network/src