esphttpd
esphttpd copied to clipboard
ESP8266 OTA compilation issue
Hello
I'm using the template program named "esphttpd" on eclipse / windows with ESP07 with 8MBit (1MByte) SPI flash.
When I'm putting the OTA flag on makefile "OUTPUT_TYPE=ota"
The compiler send me an error :
"mingw32-make.exe: *** No rule to make target 'libesphttpd/mkupgimg/', needed by 'libesphttpd/mkupgimg/mkupgimg'. "
If I comment the line on makefile.ota the line
libesphttpd/mkupgimg/mkupgimg: libesphttpd/mkupgimg/ make -C libesphttpd/mkupgimg/
the compilation seem OK and two bin was genrated httpd.user1.bin and httpd.user2.bin. I flash the boot_c1.6.bin at 0x0000 the httpd.user1.bin at 0x1000 the esp_init_data_default.bin at 0xFC000 the blank.bin at 0xFE000
reboot the device, all thing seem well I can connect to WEB server at 192.168.4.1 and go to firmware update. I choose the httpd_user2.bin stat flash and the ESP module reboot before ending the download.
I'm reading the flash before and after the user2.bin fw download / convert it in hex format and see that the user1 area is corrupted by some FF.
It seem that my user2.bi is not located corectly in memory but I don't know why
If is due to missing line in makefile.ota that I puted in commentary ? if yes how to compile the "mkupgimg" file / what the mean of this file?
Have you got some idea how to investiguate the issue?
Thank
Thierry