; 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] platform = espressif32 framework = arduino board_build.f_cpu = 240000000L board_build.mcu = esp32 monitor_speed = 115200 upload_speed = 921600 lib_deps = plerup/EspSoftwareSerial@^8.2.0 #lib_deps = # ayushsharma82/AsyncElegantOTA @ 2.2.7 # ayushsharma82/ElegantOTA @ ^3.1.2 # esphome/AsyncTCP-esphome@^1.2.2 # mathieucarbou/Async TCP @ ^3.1.4 # ottowinter/ESPAsyncWebServer-esphome@^2.1.0 lib_compat_mode = strict lib_ldf_mode = deep ;lib_ldf_mode = chain+ ;lib_ldf_mode = deep+ ;build_flags = ; -Ofast ; -D DEBUG_ESP_PORT=Serial ; -different ; -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 ;upload_port = COM3 ;monitor_port = COM3 upload_port = /dev/ttyUSB0 monitor_port = /dev/ttyUSB0 [env:debug_devkit1] board = esp32doit-devkit-v1 build_type = debug build_flags = -DCORE_DEBUG_LEVEL=5 -Ofast ; -different -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 [env:release_devkit1] board = esp32doit-devkit-v1 build_type = release build_flags = -DCORE_DEBUG_LEVEL=0 -DNRA15_USE_HARDWARE_SERIAL -Ofast ; -different -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 ; -DNV7RANGEFINDER_USE_SERIAL0=1 [env:debug_wt32_ETH0] board = wt32-eth01 build_type = debug build_flags = -DCORE_DEBUG_LEVEL=5 -Ofast ; -different -DELEGANTOTA_USE_ASYNC_WEBSERVER=1 [env:release_wt32_ETH0] board = wt32-eth01 build_type = release build_flags = -DCORE_DEBUG_LEVEL=2 -Ofast ; -different -DELEGANTOTA_USE_ASYNC_WEBSERVER=1