create envs for different uploads types

This commit is contained in:
Nicu Hodos 2020-11-03 18:58:50 +01:00
parent f5618dccdd
commit aabc35d090

View File

@ -8,7 +8,7 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp12e]
[env]
platform = espressif8266
board = d1_mini
framework = arduino
@ -17,6 +17,10 @@ lib_deps =
adafruit/Adafruit LED Backpack Library@^1.1.8
adafruit/Adafruit BusIO@^1.6.0
jchristensen/Timezone@^1.2.4
;upload_port = /dev/ttyUSB0
;upload_port = 192.168.6.191
;upload_protocol = espota
[env:laptop_home]
upload_port = /dev/ttyUSB0
[env:ota_home]
upload_port = 192.168.6.191
upload_protocol = espota