You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import("env")
print("This will be called")
def test(source, target, env):
print("This will never be called")
def test2(source, target, env):
print("This will never be called")
env.AddPreAction("buildprog", test)
env.AddPostAction("buildprog", test2)
output:
extra_scripts: pre:/Users/sebastien/Documents/PlatformIO/Projects/test/scripts/extra_script.py)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
This will be called
CONFIGURATION: https://docs.platformio.org/page/boards/heltec-cubecell/cubecell_module_plus.html
PLATFORM: Heltec CubeCell (1.1.0) > Heltec CubeCell-Module Plus (HTCC-AM02)
The text was updated successfully, but these errors were encountered:
Trying to use pre-/post-action hooks but can't figure out what I'm missing
platformio.ini:
extra_script.py:
output:
The text was updated successfully, but these errors were encountered: