update readme for flashtool
This commit is contained in:
parent
56b9dc11da
commit
fb435499a1
12
Readme.md
12
Readme.md
|
@ -54,19 +54,22 @@ 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)
|
||||
Additionally there is a small GUI for the esptool included here at [tools/flashtool/flashtool.py](tools/flashtool/flashtool.py)
|
||||
|
||||
__linux users__<br>
|
||||
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.
|
||||
To use the flashtool just download [flashtool.pyz](../../raw/master/tools/flashtool.pyz).
|
||||
```
|
||||
sudo pip install tkinter
|
||||
sudo pip install pyserial
|
||||
```
|
||||
Afterwards run flashtool.py (potentially making it executable before).
|
||||
Afterwards run flashtool.pyz with
|
||||
```
|
||||
python3 flashtool.pyz
|
||||
```
|
||||
|
||||
__windows users__<br>
|
||||
You can find a prebuild executable in tools: [esptool.exe](tools/esptool.exe).
|
||||
|
@ -79,8 +82,7 @@ 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).
|
||||
If you do not want to use the command line you first need to install python3 from the [download page](https://www.python.org/downloads/windows/) - use the Windows 64 Bit installer. Install using the default settings. Afterwards download [flashtool.pyz](../../raw/master/tools/flashtool.pyz) and run it with a double click.
|
||||
|
||||
|
||||
Update
|
||||
|
|
Loading…
Reference in New Issue