This Python script automatically moves a .hex file to a devboard on build. It simplifies the process of transferring the compiled code to the target device.
- Python 3.10 or later
- Latest PlatformIO installation
- Clone this repository
git clone https://github.com/Cuprum77/PlatformIO-Hex2MassStorage.git
- Place the Python script in the same directory as your PlatformIO project
- Open your projects
platformio.ini
- Add in
extra_scripts = post:extra_script.py
device_label = {DEVICE LABEL}
- Change the
{DEVICE LABEL}
to the name your devboard shows up as. For example, if your board shows up asDEVICE
you change it todevice_label = DEVICE
.
If you find a bug or have an idea for a feature, please open an issue or submit a pull request.
This project is licensed under the MIT License. See LICENSE for more information