53 lines
1.3 KiB
INI
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.4.18
|
|
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
|