I’m trying to dig into advanced scripts, and I’m trying to achieve a few step sequence for my project as post action:
pio run -t buildfsfor each environment.
- copy out the folders generated for each env from
.pio/buildBUT keep only the
.binfiles in them into one main
esptool.pyto merge firmware and filesystem binaries into one in every folder copied out above.
Since I never used scripts before, I’m wondering how is it possible to debug a script in work, without executing
pio run every time? Where can I find more information about what can be accessed
"projenv", beside of this blog? (here I’m referring to relative paths for example)
Do you have some hints for these steps from above?
Thank you very much,
Sorry if I’m duplicating a topic.