Closed christian-heusel closed 1 year ago
ok, thanks for that hint. I will check how to improve this. The first Skript is a general one that I habe implemented to automatically generate the .bin files for initial Flash and OTA Update. The second one is for the OTA Update via platformio IDE. But it is not allowed to habe multiple "extra_scripts" sections.
extra_scripts=
platformio_release.py ; Skript to create binary files for Flash tools and OTA Update
platformio_upload.py ; Skript for OTA Update
I wanted to upload the built binary to the esp via cable and modified the config something like this:
but then got the following error:
maybe
extra_scripts = ...
should also be moved to option3 or the script should become a nullop when upload_url is not specified?