mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 23:13:07 +01:00
flashtool working for initial and update
This commit is contained in:
@@ -1,10 +1,29 @@
|
||||
Hwo to build the bundled esp tool for windows
|
||||
How to build the bundled esp tool for windows
|
||||
=============================================
|
||||
(1) install python 3 on windows, add to path
|
||||
(2) pip install pyinstaller
|
||||
(3) create an empty dir, cd there
|
||||
(4) get esptool.py (either pip install esptool, search for it or download from
|
||||
https://github.com/espressif/esptool - just esptool.py)
|
||||
(4) get esptool.py (either pip install esptool, search for it or download from
|
||||
https://github.com/espressif/esptool - just esptool.py) or copy it from here
|
||||
(5) run: pyinstaller -F esptool.py
|
||||
esptool.exe in dist\esptool
|
||||
|
||||
|
||||
How to build the bundled flashtool.exe (on windows)
|
||||
===================================================
|
||||
(1) install python 3, add to path
|
||||
(2) pip install pyinstaller
|
||||
(3) pip install pyserial
|
||||
(4) in this directory:
|
||||
pyinstaller -F flashtool.py
|
||||
will create flashtool.exe in dist
|
||||
|
||||
|
||||
How to run flashtool on Linux
|
||||
=============================
|
||||
(1) have python 3 installed
|
||||
(2) install python3-serial as package __or__ sudo pip3 install pyserial
|
||||
(3) install python3-tk as package __or__ sudo pip3 install tkinter
|
||||
(4) ./flashtool.py
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user