In platformio.ini in
[env] I have declared
extra_scripts = post:scripts/postprocessor.py. This in itself appears to work, however when I try to use
env.AddPostAction('build', callback) after
Import('env'), the callback which should just run a print statement appears to do nothing when the ‘Build All’ task is run from the default project tasks.
Full platformio.ini here.