From f62cc7b52759e4cfa52f8b739e9fecea3a6deeb2 Mon Sep 17 00:00:00 2001 From: mikecarper Date: Sun, 11 Oct 2026 15:14:28 -0700 Subject: [PATCH] Check all application USB startup flags on migration bridges --- test/test_esp32_hwcdc_recipes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/test_esp32_hwcdc_recipes.py b/test/test_esp32_hwcdc_recipes.py index b9e76c802..8875ab934 100644 --- a/test/test_esp32_hwcdc_recipes.py +++ b/test/test_esp32_hwcdc_recipes.py @@ -65,7 +65,8 @@ USB_PARTITION_BRIDGES = { } # Pin reviewed family/transport counts rather than copying a machine's -# environment inventory. Mixed families have explicit role rules below. +# environment inventory. USB partition bridges are tallied separately above; +# mixed firmware families have explicit role rules below. UNCHANGED_COUNTS = { ("ESP32-S3-WROOM-1-N4", "uart"): 21, ("ebyte_eora-s3", "hwcdc"): 8, @@ -295,6 +296,9 @@ class Esp32HwcdcRecipeTests(unittest.TestCase): else (definition, 1) for definition in row["env"].get("CPPDEFINES", [])) self.assertEqual(str(definitions.get("MESHCORE_MIGRATION_USB")), "1") + for option in ("ARDUINO_USB_MSC_ON_BOOT", "ARDUINO_USB_DFU_ON_BOOT", + "ARDUINO_USB_ON_BOOT"): + self.assertEqual(str(definitions.get(option, 0)), "0", option) self.assertFalse(self.sdk["hwcdc_primary_enabled"](row["env"])) self.assertFalse(self.sdk["native_primary_enabled"](row["env"]))