Files
Dong Heng 5e1b8a0b10 feat(ota): Add command to generate OTA bin and add ota example for 1MB flash
"$(PROJECT_NAME).app1.bin", "$(PROJECT_NAME).app2.bin" and "$(PROJECT_NAME).ota.bin" at "build" directory.

Only upload "$(PROJECT_NAME).ota.bin" to the server.

Select the target flash and input "make ota flash" or "make ota flash monitor".

Update the OTA README.md for 1 MB flash.
2018-10-18 19:40:22 +08:00
..

README

esp-idf compile and 'AR' user program as target library 'libmain.a', so we should not use
library which is named 'libmain.a'. We use 'libcore.a' instead of it.

As I konwn, you can do following:

1. rename libmain.a to libcore.a
2. change text 
        "*libmain.a:spi_flash.o(.literal .text .literal.* .text.*)"
   to
        "*libcore.a:spi_flash.o(.literal .text .literal.* .text.*)"
   in file 'eagle.app.v6.common.ld'