From d5e50edc0b0798c37f06eed248c593534827439e Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 8 Feb 2016 16:58:31 +1100 Subject: [PATCH] ota_basic example, ota-tftp support: Add links to the new OTA wiki page --- examples/ota_basic/ota_basic.c | 4 ++-- extras/rboot-ota/ota-tftp.h | 2 ++ extras/rboot-ota/readme.txt | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/examples/ota_basic/ota_basic.c b/examples/ota_basic/ota_basic.c index a6d354d..9189f02 100644 --- a/examples/ota_basic/ota_basic.c +++ b/examples/ota_basic/ota_basic.c @@ -1,8 +1,8 @@ /* A very simple OTA example * - * Binds a TCP socket, reads an image from it and then flashes live. + * Binds a TCP socket, reads an image from it over TFTP and then flashes live. * - * This lets you flash from the command line via netcat. + * For more information about esp-open-rtos OTA see https://github.com/SuperHouse/esp-open-rtos/wiki/OTA-Update-Configuration * * NOT SUITABLE TO PUT ON THE INTERNET OR INTO A PRODUCTION ENVIRONMENT!!!! */ diff --git a/extras/rboot-ota/ota-tftp.h b/extras/rboot-ota/ota-tftp.h index d27511b..f08b28c 100644 --- a/extras/rboot-ota/ota-tftp.h +++ b/extras/rboot-ota/ota-tftp.h @@ -20,6 +20,8 @@ * IMPORTANT: TFTP is not a secure protocol. * Only allow TFTP OTA updates on trusted networks. * + * + * For more details, see https://github.com/SuperHouse/esp-open-rtos/wiki/OTA-Update-Configuration */ /* Start a FreeRTOS task to wait to receive an OTA update from a TFTP client. diff --git a/extras/rboot-ota/readme.txt b/extras/rboot-ota/readme.txt index 5d5bbd4..8721112 100644 --- a/extras/rboot-ota/readme.txt +++ b/extras/rboot-ota/readme.txt @@ -1,3 +1,8 @@ +*NOTE: This rboot-ota and the TFTP server ota-tftp.h are specific to esp-open-rtos. The below Makefile is from the upstream rboot-ota project.* + +For more details on OTA in esp-open-rtos, see https://github.com/SuperHouse/esp-open-rtos/wiki/OTA-Update-Configuration + + rBoot - User API and OTA support for rBoot on the ESP8266 --------------------------------------------------------- by Richard A Burton, richardaburton@gmail.com