diff --git a/pio-tools/gen-berry-structures.py b/pio-tools/gen-berry-structures.py index 49bb8e3d0..b739fe17a 100644 --- a/pio-tools/gen-berry-structures.py +++ b/pio-tools/gen-berry-structures.py @@ -1,4 +1,6 @@ Import("env") +env = DefaultEnvironment() +platform = env.PioPlatform() import os import subprocess from os.path import join