jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.82k stars 720 forks source link

ESP-12 flashing via Makefile #407

Open seurat-atreides opened 5 years ago

seurat-atreides commented 5 years ago

I have been having trouble flashing esp-link onto an NodeMCU v4 device via the Makefile. I soon found out that my problem was a missing --flash_mode setting in the esptool.py call. I also noticed that the Makefile has provision for setting this parameter depending on the FLASH_SIZE. Unfortunately this variable is not used in the flash: or baseflash: rules of the Makefile.