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.
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.