; 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 [env:esp32doit-devkit-v1] platform = espressif32 board = esp32doit-devkit-v1 framework = arduino monitor_speed = 115200 ; Erase flash before each upload so NVS provisioning starts fresh extra_scripts = pre:erase_flash.py lib_deps = adafruit/MAX6675 library@^1.1.2 esphome/AsyncTCP-esphome@^1.2.2 ottowinter/ESPAsyncWebServer-esphome@^2.1.0 bblanchon/ArduinoJson @ ^6.19.4 ; Development environment — verbose serial logging, full flash erase on upload ; All NVS data (WiFi credentials, server URL, device name, JWT token) is wiped on each flash. ; Usage: ~/.platformio/penv/bin/pio run -e dev --target upload --upload-port /dev/ttyUSB0 [env:dev] platform = espressif32 board = esp32doit-devkit-v1 framework = arduino monitor_speed = 115200 build_flags = -DROASTIQ_DEV extra_scripts = pre:erase_flash.py lib_deps = adafruit/MAX6675 library@^1.1.2 esphome/AsyncTCP-esphome@^1.2.2 ottowinter/ESPAsyncWebServer-esphome@^2.1.0 bblanchon/ArduinoJson @ ^6.19.4 ; Native environment — runs unit tests on the host (no hardware needed) ; Usage: ~/.platformio/penv/bin/pio test -e native [env:native] platform = native lib_deps = bblanchon/ArduinoJson @ ^6.19.4 throwtheswitch/Unity @ ^2.6.1 build_src_filter = -<*> test_filter = test_temperature, test_telemetry