From eea3b0ed109088fc00fea62f6633b0d5ce167360 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 3 Sep 2022 22:04:56 +0200 Subject: [PATCH] add Pio env --- pio-tools/gen-berry-structures.py | 2 ++ 1 file changed, 2 insertions(+) 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