my
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
upload_port = COM4
upload_protocol = esptool
upload_port = COM3
upload_speed = 115200
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
upload_port = COM4
upload_protocol = esptool
upload_port = COM3
upload_speed = 115200
Hello.
You appear to have two upload_port
s in your platformio.ini
file, COM3
and COM4
. You would need to determine which one is correct, and given that COM3
doesn’t work, it’s probably COM4
.
Also, is this always the case when you plug this particular board in to your Windows PC? I mean, do you always get COM4
? Or do you get other com ports, depending on the usage at the time?
You can try leaving the upload_port
out of platformio.ini
as the uploader can usually make a good guess at determining the correct port.
HTH
Cheers,
Norm.