I spent some time recently trying to re-develop the AnnexToolKit so that it could work on different platforms, in particular Linux, Windows and Mac.
It is now based on JavaFX hence it is compatible with almost all the OS but the look and feel is very similar to the previous utility.
The package is common to all the versions but the installation procedure is different depending on the platform.
The package already contains the latest version of the firmwares.
The Mac version should work but the upload of data files is not yet supported as some utilities must be recompiled under that OS.
The package can be downloaded here The preliminary installation procedure can be found below.
Please let me know and report any snags here.
Thanks
cicciocb
Annex Toolkit multi platform preliminary installation instructions (update version 0.5)
Linux (tested with Ubuntu and MX Linux )
Extract the file annextoolkit_release_0.5.tar.gz into a dedicated folder
Download the JDK package from https://cdn.azul.com/zulu/bin/zulu15.29 ... x64.tar.gz
Extract it in the previous folder using the default name zulu15.29.15-ca-fx-jre15.0.2-linux_x64
Open a terminal in the folder for typing the following commands
Install esptools with
Code: [Local Link Removed for Guests]
sudo apt-get update
sudo apt-get install esptool
install the lib32 with
Code: [Local Link Removed for Guests]
sudo apt-get install lib32stdc++6
Test that all the utilities works properly:
Code: [Local Link Removed for Guests]
./esptool
esptool.py v2.6
usage: esptool [-h] [--chip {auto,esp8266,esp32}] [--port PORT] [--baud BAUD]
[--before {default_reset,no_reset,no_reset_no_sync}]
[--after {hard_reset,soft_reset,no_reset}] [--no-stub]
[--trace] [--override-vddsdio [{1.8V,1.9V,OFF}]]
……..
Code: [Local Link Removed for Guests]
./gen_esp32part
usage: gen_esp32part [-h] [--flash-size [{1MB,2MB,4MB,8MB,16MB}]]
[--disable-md5sum] [--no-verify] [--verify] [--quiet]
[--offset OFFSET] [--secure]
input [output]
gen_esp32part: error: the following arguments are required: input
Code: [Local Link Removed for Guests]
./mkfatfs
Missing required positional argument <fatfs image name>
Version cicciocb 03/2021
Usage: ./mkfatfs [-c <fatfs directory>] [-t <partition table>] [-l <partition label>] <fatfs image name>
Options:
-c <fatfs directory> Set directory to build fatfs from to <fatfs directory>. Defaults to 'image'
-t <partition table> Set file to read partition table from to <partition table>. Defaults to 'partition_table.bin'
-l <partition label> Set label of partition from partition table to use to <partition label>. Defaults to 'ffat'
Code: [Local Link Removed for Guests]
./mkspiffs
PARSE ERROR:
Required arguments missing: visualize, list, unpack, add, create, image_file
Brief USAGE:
./mkspiffs {-c <pack_dir>|-a <file_name>|-u <dest_dir>|-l|-i} [-m
<full_name>] [-d <0-5>] [-b <number>] [-p <number>] [-s
<number>] [--] [--version] [-h] <image_file>
For complete USAGE and HELP type:
./mkspiffs --help
Code: [Local Link Removed for Guests]
./linux.sh
Serial port access is limited to certain users and groups in Linux. To remedy this, open a terminal and enter the following commands. Don't worry if some of the commands fail. All of these groups may not exist on every Linux distro. (Note, this process must only be done once for each user):
Code: [Local Link Removed for Guests]
sudo usermod -a -G uucp username
sudo usermod -a -G dialout username
sudo usermod -a -G lock username
sudo usermod -a -G tty username
More details here
https://github.com/Fazecast/jSerialComm ... leshooting
MacOS
Extract the AnnexToolKitJava zip into a dedicated folder
Download the JDK package from https://cdn.azul.com/zulu/bin/zulu15.29 ... x64.tar.gz
Follow the same instructions as for Linux taking into account that the utilities mkfatfs and mkspiffs do not work actually on that OS.
Windows (tested with win7 and win10)
Extract the AnnexToolKitJava zip into a dedicated folder (let’s say /annex)
Download the JDK package from
https://cdn.azul.com/zulu/bin/zulu15.29 ... in_x64.zip
Extract it in the same folder using the default name zulu15.29.15-ca-fx-jre15.0.2-win_x64
Run the program double clicking on win.bat
IMPORTANT (for both linux and windows):
When the program starts, this warning message appears in the console :
Code: [Local Link Removed for Guests]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.fxmisc.richtext.TextFlowExt (file:/home/ubuntu/AnnexToolKit/AnnexToolKit.jar) to method javafx.scene.text.TextFlow.getTextLayout()
WARNING: Please consider reporting this to the maintainers of org.fxmisc.richtext.TextFlowExt
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Known issues:
Some texts changes in size when other elements are selected
The toolkit must be installed in a folder without spaces in all the path
The OTA server requires elevation (root) under linux
The "greyed" TABS are simply not yet available