ble_mesh: stack: Add a Kconfig option to make deinit optional

This commit is contained in:
lly
2020-10-16 10:19:31 +08:00
committed by bot
parent 675c94a9d4
commit 051f02ee80
39 changed files with 258 additions and 44 deletions

View File

@@ -95,6 +95,13 @@ if BLE_MESH
endchoice # BLE_MESH_FREERTOS_STATIC_ALLOC_MODE
config BLE_MESH_DEINIT
bool "Support de-initialize BLE Mesh stack"
default y
help
If enabled, users can use the function esp_ble_mesh_deinit() to de-initialize
the whole BLE Mesh stack.
config BLE_MESH_FAST_PROV
bool "Enable BLE Mesh Fast Provisioning"
select BLE_MESH_NODE