1
0
forked from me/IronOS

Add extra heap

This commit is contained in:
Ben V. Brown
2022-10-22 17:40:39 +11:00
parent a7ca43da7f
commit ea3c6e74e6
4 changed files with 180 additions and 106 deletions

View File

@@ -55,18 +55,23 @@ void bt_enable_cb(int err)
}
void ble_stack_start(void)
{
MSG("[OS] ble_controller_init...\r\n");
MSG("[OS] ble_stack_start...\r\n");
GLB_Set_EM_Sel(GLB_EM_8KB);
MSG("[OS] ble_controller_init...\r\n");
ble_controller_init(configMAX_PRIORITIES - 1);
MSG("[OS] ble_controller_init...Done\r\n");
// // Initialize BLE Host stack
// MSG("[OS] hci_driver_init...\r\n");
// hci_driver_init();
MSG("[OS] hci_driver_init...\r\n");
hci_driver_init();
MSG("[OS] hci_driver_init...Done\r\n");
// MSG("[OS] bt_enable...\r\n");
// bt_enable(bt_enable_cb);
MSG("[OS] bt_enable...\r\n");
bt_enable(bt_enable_cb);
MSG("[OS] bt_enable...Done\r\n");
}