Skip to content

Commit a5efbfc

Browse files
authored
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
1 parent 886bffe commit a5efbfc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/main.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,13 @@ extern meshtastic_DeviceMetadata getDeviceMetadata()
12741274
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_AMBIENTLIGHTING_CONFIG;
12751275
#endif
12761276

1277+
// No bluetooth on these targets (yet):
1278+
// Pico W / 2W may get it at some point
1279+
// Portduino and ESP32-C6 are excluded because we don't have a working bluetooth stacks integrated yet.
1280+
#if defined(ARCH_RP2040) || defined(ARCH_PORTDUINO) || defined(ARCH_STM32WL) || defined(CONFIG_IDF_TARGET_ESP32C6)
1281+
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_BLUETOOTH_CONFIG;
1282+
#endif
1283+
12771284
#if defined(ARCH_NRF52) && !HAS_ETHERNET // nrf52 doesn't have network unless it's a RAK ethernet gateway currently
12781285
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_NETWORK_CONFIG; // No network on nRF52
12791286
#elif defined(ARCH_RP2040) && !HAS_WIFI && !HAS_ETHERNET

0 commit comments

Comments
 (0)