In detail I’m searching for action when builds end (with failure or success)
Thanks for your reply, I already read that page but I hope it’s not a complete list, I need an end/abort action
And what is about
or the path to a file which PlatformIO processes (ELF, HEX, BIN, OBJ, etc.).
for me that sounds like“ $BUILD_DIR/${PROGNAME}.bin” …
Sorry, I was too quick in response and I modified my post to reflect what I really meant
AFAIK platformio build uses / sits on top of https://www.scons.org/. May be you’re lucky to find what you’re looking for in the depths of their documentation. Two promising entries might be SCons 4.8.0 or 9.4. Printing Detailed Build Status: the GetBuildFailures Function.
You are my saver! Thanks so much for hint. I almost got it using:
import atexit
atexit.register(myfunc)
only problem is that if I close the terminal, while it’s building, it’s not called…
Perhaps because the build process is closed too.
If you’re working under *nix using CLI you could start the build process in background to avoid this. Otherwise - don’t close the terminal