platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
330 stars 219 forks source link

Bad reset_method variable on upload! #318

Open Soggy-Pancake opened 5 months ago

Soggy-Pancake commented 5 months ago

I recently tried flashing new firmware onto my esp8266 and noticed that my boards wouldn't connect and flash like they were supposed to. My board is a d1-mini clone and the d1 mini preset has worked fine before. I went poking around in builder/main.py and found that my board is correctly using the nodemcu reset method but the string given to be checked to determine the reset method is "nodemcu".

code with some test prints image

image