NimBLE: Add optional mbedTLS support to NimBLE
- Additional menuconfig option to select either mbedTLS or Tinycrypt from NimBLE. - Addition of `CMAC` and `ECP_RESTARTABLE` to mbedTLS menuconfig option and `esp_config.h`. - Changes NimBLE `component.mk` and `CMakeLists.txt` to support mbedTLS option. - Minor changes to `app_mesh.c` application.
This commit is contained in:
committed by
Mahavir Jain
parent
ef5c3f3564
commit
fe08f435dc
@@ -32,7 +32,7 @@
|
||||
#include "mesh/mesh.h"
|
||||
|
||||
static const char *tag = "NimBLE_MESH";
|
||||
void ble_store_ram_init(void);
|
||||
void ble_store_config_init(void);
|
||||
|
||||
#define BT_DBG_ENABLED (MYNEWT_VAL(BLE_MESH_DEBUG))
|
||||
|
||||
@@ -418,6 +418,7 @@ void blemesh_host_task(void *param)
|
||||
|
||||
health_pub_init();
|
||||
nimble_port_run();
|
||||
nimble_port_freertos_deinit();
|
||||
}
|
||||
|
||||
void app_main(void)
|
||||
@@ -438,7 +439,7 @@ void app_main(void)
|
||||
|
||||
bt_mesh_register_gatt();
|
||||
/* XXX Need to have template for store */
|
||||
ble_store_ram_init();
|
||||
ble_store_config_init();
|
||||
|
||||
nimble_port_freertos_init(blemesh_host_task);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user