diff --git a/tools/flashtool.exe b/tools/flashtool.exe new file mode 100644 index 0000000..0ff9ce0 Binary files /dev/null and b/tools/flashtool.exe differ diff --git a/tools/flashtool.py b/tools/flashtool.py index d1e2c81..9e1d882 100755 --- a/tools/flashtool.py +++ b/tools/flashtool.py @@ -9,7 +9,7 @@ from tkinter import filedialog as FileDialog import builtins - +VERSION="1.0, esptool 3.2" oldprint=builtins.print def print(*args, **kwargs): @@ -35,6 +35,8 @@ class App: frame.columnconfigure(1, weight=3) tk.Label(frame,text="ESP32 NMEA2000 Flash Tool").grid(row=row,column=0,columnspan=2,sticky='ew') row+=1 + tk.Label(frame, text=VERSION).grid(row=row,column=0,columnspan=2,sticky="ew",pady=10) + row+=1 self.mode=tk.IntVar() self.mode.set(1) rdFrame=tk.Frame(frame) diff --git a/tools/readme-esptool-win.txt b/tools/readme-esptool-win.txt index f321d24..06bdfe0 100644 --- a/tools/readme-esptool-win.txt +++ b/tools/readme-esptool-win.txt @@ -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 + + +