diff --git a/Readme.md b/Readme.md index dc7ec4e..751ac1d 100644 --- a/Readme.md +++ b/Readme.md @@ -1,11 +1,25 @@ # ESP Wordclock ## Setup -Generate a wlancfg.lua for your wifi based on the given example wlancfg.lua.example -Copy the required files to the microcontroller: +Install the firmware on the ESP: +The ESP must be set into the bootloader mode, like [this](https://www.ccc-mannheim.de/wiki/ESP8266#Boot_Modi) + +The firmware can be downloaded with the following script:
- sudo ./programESP.sh serial wlancfg.lua.lua wlancfg.lua - sudo ./programESP.sh serial init.lua init.lua +cd os/ +./flash.sh ttyUSB0 ++ +Reboot the ESP, with a serial terminal, +format the filesystem with the following command and reboot it: +
+file.format() +node.reboot() ++ +Then disconnect the serial terminal and copy the required files to the microcontroller: +
+./tools/initialFlash.sh /dev/ttyUSB0## Internal Setup