SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.52k stars 491 forks source link

OTA compatible image #620

Open yubik9 opened 6 years ago

yubik9 commented 6 years ago

Tried using ota_basic example.

It still loads rom0 after TFTP put.

Seems memory link file does not working.

yubik9 commented 6 years ago

Do I need to recompile rboot like mentioned #311 with Big Flash enabled?

AndreaGreco commented 6 years ago

No, you don't. Set only it up, and it works.

You could also use: example/http_client_ota, that is HTTP version, more buzz-word friendly. Do same think but with HTTP server.

apiel commented 5 years ago

The problem is that TFTP is base on UDP, it is therefor not very reliable. There is also examples/esphttpd if you want your device to be server, but as @AndreaGreco mention, I would also recommend to use example/http_client_ota, it is much more simple and lightweight.