Add basic BLE Mesh support for ESP32 and NRF52 platforms

This commit is contained in:
Ben Meadors
2026-03-07 15:22:49 -06:00
parent 5d12edbe07
commit d84355d15a
16 changed files with 1764 additions and 10 deletions
+1
View File
@@ -35,6 +35,7 @@ build_flags =
-Wextra
-Isrc/platform/esp32
-std=c++11
-DHAS_BLE_MESH=1
-DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
-DMYNEWT_VAL_BLE_HS_LOG_LVL=LOG_LEVEL_CRITICAL
+6
View File
@@ -2,6 +2,12 @@
extends = esp32_common
custom_esp32_kind = esp32c3
build_flags =
${esp32_common.build_flags}
-DCONFIG_BT_NIMBLE_EXT_ADV=1
-DCONFIG_BT_NIMBLE_MAX_EXT_ADV_INSTANCES=2
-DCONFIG_BT_NIMBLE_MAX_EXT_ADV_DATA_LEN=251
monitor_speed = 115200
monitor_filters = esp32_c3_exception_decoder
+7
View File
@@ -2,6 +2,13 @@
extends = esp32_common
custom_esp32_kind = esp32s3
build_flags =
${esp32_common.build_flags}
-DCONFIG_BT_NIMBLE_EXT_ADV=1
-DCONFIG_BT_NIMBLE_MAX_EXT_ADV_INSTANCES=2
-DCONFIG_BT_NIMBLE_MAX_EXT_ADV_DATA_LEN=251
-include mbedtls/error.h
monitor_speed = 115200
lib_deps =
+1
View File
@@ -24,6 +24,7 @@ build_flags =
-DLFS_NO_ASSERT ; Disable LFS assertions , see https://github.com/meshtastic/firmware/pull/3818
-DMESHTASTIC_EXCLUDE_AUDIO=1
-DMESHTASTIC_EXCLUDE_PAXCOUNTER=1
-DHAS_BLE_MESH=1
-Os
build_unflags =
-Ofast