Microcontroller OTA upload tool for ESP8266 Arduino based boards running WiFi Link
- -i --ip: IP address of the destination board.
- -f --file: Firmware file to upload onto the mcu
- -p --port: Connection port [default 80]
- -l --lines: Number of lines of the specified files to upload for each request.
- -h --help: Help
$> arduino_mcuota -f /tmp/Blink.ino.hex -i 192.168.1.120 -p 80
Sending /tmp/Blink.ino.hex to host 192.168.60.121
[1 / 15] Done...
[2 / 15] Done...
[3 / 15] Done...
[4 / 15] Done...
[5 / 15] Done...
[6 / 15] Done...
[7 / 15] Done...
[8 / 15] Done...
[9 / 15] Done...
[10 / 15] Done...
[11 / 15] Done...
[12 / 15] Done...
[13 / 15] Done...
[14 / 15] Done...
[15 / 15] Done...
Upload CompletedYou can build this tool the same way in Mac, Windows and Linux platforms
- python
- pip
- pyinstaller : follow the official documentation for the installation
To build run this command:
$> pyinstaller arduino_mcuota.py -FIt creates a build and dist folder. Destination binary is inside dist folder
That's all.