The following script will program the firmware from the Linux shell:
#!/bin/bash
esptool.py --port /dev/ttyACM0 write_flash 0x00000 ATS_MINI.ino.bootloader.bin 0x8000 ATS_MINI.ino.partitions.bin 0x10000 ATS_MINI.ino.bin
Create the file burn_flash.sh in the directory containing the three .bin files, with the contents of the two lines above.
After creating the script, make the script executable by entering the command:
chmod +x burn_flash.sh
Then execute the script with the command:
./burn_flash.sh
The following script will program the firmware from the Linux shell:
#!/bin/bash
esptool.py --port /dev/ttyACM0 write_flash 0x00000 ATS_MINI.ino.bootloader.bin 0x8000 ATS_MINI.ino.partitions.bin 0x10000 ATS_MINI.ino.bin
Create the file burn_flash.sh in the directory containing the three .bin files, with the contents of the two lines above.
After creating the script, make the script executable by entering the command:
chmod +x burn_flash.sh
Then execute the script with the command:
./burn_flash.sh