- genappbin and esptool are fed the correct flash size
- esptool is fed the correct locations to flash
All your esptool command lines are for different flash sizes. Go into the makefile I sent and look through it till you find the settings for flash option 6. These will give you the right numbers to use in your script
Also can you zip up your entire project and attach here? I will reformat it to use the makefile I posted