From b73d5c754a7ab53004d77ee7a0e54dffba41be2f Mon Sep 17 00:00:00 2001 From: wellenvogel Date: Mon, 20 Dec 2021 18:06:39 +0100 Subject: [PATCH] update readme for flashtool --- Readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Readme.md b/Readme.md index 3a012df..e1032e4 100644 --- a/Readme.md +++ b/Readme.md @@ -54,12 +54,20 @@ The flash command must be (example for m5stack-atom): esptool.py --port XXXX --chip esp32 write_flash 0x1000 m5stack-atom-20211217-all.bin ``` For the meaning of the board names have a look at [Hardware](doc/Hardware.md). For details refer to the code in [platformio.ini](platformio.ini) and look for the hardware definitions in [GwHardware.h](lib/hardware/GwHardware.h). +Additionally there is a small GUI for the esptool included here at [tools/flashtool.py](tools/flashtool.py) __linux users__
You can typically install the esptool (once you have python 3 installed) with ``` sudo pip install esptool ``` +To use the flashtool just copy flashtool.py and esptool.py from [tools](tools) to an empty directory. +``` +sudo pip install tkinter +sudo pip install pyserial +``` +Afterwards run flashtool.py (potentially making it executable before). + __windows users__
You can find a prebuild executable in tools: [esptool.exe](tools/esptool.exe). Just create an empty directory on your machine, download the esptool to this directory and also download the binary (xxx-all.bin) from [releases](../../releases). @@ -71,6 +79,8 @@ Flash with the command esptool.exe --port COM3 0x1000 xxxxx-xxxx-all.bin ``` Replace COM3 with the port shown in the device manager and the xxx with the name of the downloaded binary. +If you do not want to use the command line you can download the precompiled [flashtool.exe](../../raw/master/tools/flashtool.exe). +Just start the downloaded exe. Unfortunately some virus scanners seem to consider the exe a virus or trojan. There is not much I can do against this - the exe is simply build from flashtool.py - see [tools readme](tools/readme-esptool-win.txt). Update