This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user