From f7df74d97e35d2abbd6b50f383493f97e096ad83 Mon Sep 17 00:00:00 2001 From: Jeroen Domburg Date: Mon, 18 Jan 2016 21:08:48 +0800 Subject: [PATCH] Message about opensdk --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9841eaa..da62bb1 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,15 @@ Now, build the code: make -Flash the code happens in 2 steps. First the code itself gets flashed. Reset the module into bootloader +Depending on the way you built it, esp-open-sdk sometimes patches Espressifs SDK, needing a slightly different +compiling process. If this is needed, you will get errors during compiling complaining about uint8_t being +undeclared. If this happens, try building like this: + + make USE_OPENSDK=yes + +You can also edit the Makefile to change this more permanently. + +After the compile process, flash the code happens in 2 steps. First the code itself gets flashed. Reset the module into bootloader mode and enter 'make flash'. The 2nd step is to pack the static files the webserver will serve and flash that. Reset the module into