From 8c97c68d11ba7696d9a6f6c88946520c8509caa2 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Mon, 1 Sep 2025 18:42:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A9=20Add=20feature=20flag=20for=20spo?= =?UTF-8?q?t=20pico?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esp32/scripts/build_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp32/scripts/build_app.py b/esp32/scripts/build_app.py index 7f18a31..a889cc7 100644 --- a/esp32/scripts/build_app.py +++ b/esp32/scripts/build_app.py @@ -35,10 +35,10 @@ filesystem_dir = project_dir + "/data/www" def get_files_to_exclude(): files_to_exclude = [] - if flag_exists("SPOTMICRO_ESP32") and not flag_exists("SPOTMICRO_YERTLE"): + if (flag_exists("SPOTMICRO_ESP32") or flag_exists("SPOTMICRO_ESP32_MINI")) and not flag_exists("SPOTMICRO_YERTLE"): print("Excluding Yertle files for SPOTMICRO_ESP32 build") files_to_exclude.extend(["yertle.URDF", "URDF.zip", "URDF/"]) - elif flag_exists("SPOTMICRO_YERTLE") and not flag_exists("SPOTMICRO_ESP32"): + elif flag_exists("SPOTMICRO_YERTLE") and not flag_exists("SPOTMICRO_ESP32") and not flag_exists("SPOTMICRO_ESP32_MINI"): print("Excluding Spot Micro files for SPOTMICRO_YERTLE build") files_to_exclude.extend(["spot_micro.urdf.xacro", "stl.zip", "stl/"]) else: