Disable bluetooth config on rp2040, portduino (for now), and stm32 (#6465)

* Disable bluetooth config on rp2040, portduino (for now), and stm32

* Add comments and exclude C6
This commit is contained in:
Ben Meadors 2025-03-31 06:32:54 -05:00 committed by GitHub
parent 886bffe8f3
commit a5efbfccd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1274,6 +1274,13 @@ extern meshtastic_DeviceMetadata getDeviceMetadata()
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_AMBIENTLIGHTING_CONFIG;
#endif
// No bluetooth on these targets (yet):
// Pico W / 2W may get it at some point
// Portduino and ESP32-C6 are excluded because we don't have a working bluetooth stacks integrated yet.
#if defined(ARCH_RP2040) || defined(ARCH_PORTDUINO) || defined(ARCH_STM32WL) || defined(CONFIG_IDF_TARGET_ESP32C6)
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_BLUETOOTH_CONFIG;
#endif
#if defined(ARCH_NRF52) && !HAS_ETHERNET // nrf52 doesn't have network unless it's a RAK ethernet gateway currently
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_NETWORK_CONFIG; // No network on nRF52
#elif defined(ARCH_RP2040) && !HAS_WIFI && !HAS_ETHERNET