mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-22 11:17:49 +10:00
Add basic BLE Mesh support for ESP32 and NRF52 platforms
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user