diff --git a/code/platformio.ini b/code/platformio.ini index cacf2001..75d41122 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -1,5 +1,5 @@ [platformio] -env_default = wemos-d1mini-relayshield +default_envs = wemos-d1mini-relayshield src_dir = espurna data_dir = espurna/data @@ -65,6 +65,7 @@ build_flags_4m3m = ${common.build_flags} -Wl,-Teagle.flash.4m3m4s.ld # ------------------------------------------------------------------------------ upload_port = "${sysenv.ESPURNA_IP}" upload_flags = --auth="${sysenv.ESPURNA_AUTH}" +upload_protocol = espota # ------------------------------------------------------------------------------ # OTHER SETTINGS: