A ton of things
Some checks failed
Test compiling project / test (push) Failing after 1m38s

This commit is contained in:
2025-02-14 21:27:04 +01:00
parent 04b2aba6ca
commit 5738eb4451
9 changed files with 333 additions and 41 deletions

View File

@@ -8,7 +8,25 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:ESP32]
[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
ArduinoLog
board_build.partitions = default.csv
upload_protocol = espota
upload_port = 192.168.5.181
lib_extra_dirs = libs
build_flags = -Wall -Wextra
[env:ESP32_INA226]
platform = espressif32
board = esp32dev
framework = arduino
@@ -20,6 +38,12 @@ lib_deps =
ArduinoLog
board_build.partitions = default.csv
upload_protocol = espota
upload_port = 192.168.5.242
upload_port = 192.168.5.181
lib_extra_dirs = libs
build_flags = -Wall -Wextra
build_flags = -Wall -Wextra -DUSE_INA226
[env:native]
platform = native
build_flags = -DUNIT_TEST -Ilib/fetchOTA/
lib_deps =
fetchOTA