diff options
author | Torben Egmose <torben.egmose@gmail.com> | 2021-04-05 01:01:04 +0200 |
---|---|---|
committer | Torben Egmose <torben.egmose@gmail.com> | 2021-04-05 01:01:04 +0200 |
commit | 5c246a9fd75c2f0bf070be38f249b43f7a7896c2 (patch) | |
tree | 37f5bbaf47b37e575f9c2316657a13406b43e1e1 /platformio.ini | |
parent | 44b1d4f73eee8a3a6f1423223eec9693c82ff883 (diff) |
split
Diffstat (limited to 'platformio.ini')
-rw-r--r-- | platformio.ini | 40 |
1 files changed, 28 insertions, 12 deletions
diff --git a/platformio.ini b/platformio.ini index c4f0d94..e9ab053 100644 --- a/platformio.ini +++ b/platformio.ini @@ -8,23 +8,39 @@ ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html -[env:esp01_1m] +[env:sensor] +build_flags = + !echo "'-D PROJECT=\"$(basename "$(pwd)")\"'" platform = espressif8266 board = esp01_1m framework = arduino board_build.flash_mode = dout - lib_deps = - LiquidCrystal_I2C - WifWaf/MH-Z19 - adafruit/Adafruit Unified Sensor - adafruit/Adafruit AHTX0 - tzapu/WiFiManager - PubSubClient - -;upload_port = /dev/ttyUSB0 + LiquidCrystal_I2C + WifWaf/MH-Z19 + adafruit/Adafruit Unified Sensor + adafruit/Adafruit AHTX0 + PubSubClient upload_protocol = espota -upload_port = 172.19.1.209 -upload_flags= -P 36286 +upload_port = 172.19.5.106 +upload_flags = -P 36286 +[env:display] +build_flags = + !echo "'-D PROJECT=\"$(basename "$(pwd)")\"'" + -D mydisplay=1 +platform = espressif8266 +board = esp01_1m +framework = arduino +board_build.flash_mode = dout +lib_deps = + LiquidCrystal_I2C + WifWaf/MH-Z19 + adafruit/Adafruit Unified Sensor + adafruit/Adafruit AHTX0 + PubSubClient + +upload_protocol = espota +upload_port = 172.19.5.205 +upload_flags = -P 36286 |