50 lines
1.2 KiB
INI
50 lines
1.2 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
|
|
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
|
|
monitor_speed = 115200
|
|
lib_deps =
|
|
ottowinter/ESPAsyncWebServer-esphome@^3.3.0
|
|
robtillaart/INA226@^0.4.4
|
|
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 -DUSE_INA226
|
|
|
|
[env:native]
|
|
platform = native
|
|
build_flags = -DUNIT_TEST -Ilib/fetchOTA/
|
|
lib_deps =
|
|
fetchOTA
|