The program manages files on a microcontroller connected via rshell.
- Device connection - Starts
rshellon the specified serial port. - Console monitoring - Reads
rshellresponses and detects.pyfiles to be deleted. - Delete files - Automatically deletes found
.pyscripts from the device. - Import new files - Copies the contents of the
firmwarefolder to the microcontroller. - Error handling and logging - Uses
colorlogto log events transparently.
The program runs with the COM7 port, but can be adapted to other devices.
Remember to change port (COM7) to actual one on your PC
$ esptool.py --port COM7 erase_flash$ esptool.py --port COM7 write_flash -z 0x1000 ESP32_GENERIC-20241025-v1.24.0.binTo flash firmware just run
$ python flash_ESP.pyvia python configuration. With micropython plugin it may not work. Remember to check COM port.