Use the CORE platform property

This commit is contained in:
J. Nick Koston
2026-08-09 00:35:54 -05:00
parent 964835c523
commit 5420b0106a
@@ -32,7 +32,7 @@ def AUTO_LOAD() -> list[str]:
serves tooling that resolves the manifest without a target."""
if CORE.is_esp32:
return ["ble_device_base", "esp32_ble_tracker"]
if CORE.target_platform == PLATFORM_RP2:
if CORE.is_rp2:
return ["ble_device_base", "rp2040_ble"]
if CORE.target_platform is None:
return ["ble_device_base", "esp32_ble_tracker", "rp2040_ble"]