I’m trying to figure out best practise for remote upload of script files.
I develop locally, have boards connected to a Raspberry Pi Zero W and attached to that is one STM32 device as well as an Arduino Pro Mini.
When I read the docs it seems like the extra_script.py should be placed near the platformio.ini configuration file. When I make a remote upload the script files are not transferred.
- Is there a way to transfer the script files along with the firmware upload?
- Is there a way to set a global variable on the remote device to look for and include script files in a certain dir?
- Do I need to manually put in the extra-script file in the remote build dir?