Files
waterlevel-software/platformio.ini
tobimai 146a4412e0
All checks were successful
Test compiling project / test (push) Successful in 2m28s
Fixed OTA Ethernet bug
2025-02-23 02:38:59 +01:00

53 lines
1.3 KiB
INI

; 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 = ESP32_INA233, ESP32_INA226
[env:ESP32_INA233]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps =
ottowinter/ESPAsyncWebServer-esphome@^3.3.0
bblanchon/ArduinoJson@^6.21.3
jsc/ArduinoLog
fetchOTA
INA322
ESP32Ping
board_build.partitions = default.csv
upload_protocol = espota
upload_port = 192.168.5.180
build_flags = -Wall -Wextra
[env:ESP32_INA226]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps =
ottowinter/ESPAsyncWebServer-esphome@^3.3.0
robtillaart/INA226@^0.4.4
bblanchon/ArduinoJson@^6.21.3
jsc/ArduinoLog
ESP32Ping
board_build.partitions = default.csv
upload_protocol = espota
upload_port = 192.168.5.181
build_flags = -Wall -Wextra -DUSE_INA226
[env:native]
platform = native
build_flags = -DUNIT_TEST -Ilib/fetchOTA/
lib_deps =
fetchOTA
arduino-libraries/ArduinoHttpClient@^0.6.1