mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
feat(ble/controller): Added memory boundary check for ESP32-C2
This commit is contained in:
@@ -12,9 +12,14 @@
|
||||
************************************************************************
|
||||
*/
|
||||
#if (CONFIG_BT_NIMBLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED)
|
||||
void adv_stack_enableClearLegacyAdvVsCmd(bool en);
|
||||
void scan_stack_enableAdvFlowCtrlVsCmd(bool en);
|
||||
void adv_stack_enableClearLegacyAdvVsCmd(bool en);
|
||||
void chanSel_stack_enableSetCsaVsCmd(bool en);
|
||||
void hci_stack_enableSetVsEvtMaskVsCmd(bool en);
|
||||
|
||||
void adv_stack_enableScanReqRxdVsEvent(bool en);
|
||||
void conn_stack_enableChanMapUpdCompVsEvent(bool en);
|
||||
void sleep_stack_enableWakeupVsEvent(bool en);
|
||||
#endif // (CONFIG_BT_NIMBLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED)
|
||||
|
||||
/* Local functions definition
|
||||
@@ -32,10 +37,18 @@ void ble_stack_enableVsCmds(bool en)
|
||||
#endif // DEFAULT_BT_LE_ROLE_OBSERVER
|
||||
|
||||
chanSel_stack_enableSetCsaVsCmd(en);
|
||||
hci_stack_enableSetVsEvtMaskVsCmd(en);
|
||||
}
|
||||
|
||||
void ble_stack_enableVsEvents(bool en)
|
||||
{
|
||||
#if DEFAULT_BT_LE_ROLE_BROADCASTER
|
||||
adv_stack_enableScanReqRxdVsEvent(en);
|
||||
#endif // DEFAULT_BT_LE_ROLE_BROADCASTER
|
||||
conn_stack_enableChanMapUpdCompVsEvent(en);
|
||||
#if CONFIG_BT_LE_SLEEP_ENABLE
|
||||
sleep_stack_enableWakeupVsEvent(en);
|
||||
#endif // CONFIG_BT_LE_SLEEP_ENABLE
|
||||
}
|
||||
#endif // (CONFIG_BT_NIMBLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED)
|
||||
|
||||
|
Submodule components/bt/controller/lib_esp32c2/esp32c2-bt-lib updated: 1e88fa4606...c0d98a9a03
@@ -144,7 +144,7 @@ r_ble_ll_adv_reset = 0x40000c88;
|
||||
r_ble_ll_adv_rpa_timeout = 0x40000c8c;
|
||||
r_ble_ll_adv_rpa_update = 0x40000c90;
|
||||
r_ble_ll_adv_rx_pkt_in = 0x40000c94;
|
||||
r_ble_ll_adv_scan_req_rxd = 0x40000c98;
|
||||
//r_ble_ll_adv_scan_req_rxd = 0x40000c98;
|
||||
r_ble_ll_adv_scan_rsp_legacy_pdu_make = 0x40000c9c;
|
||||
r_ble_ll_adv_scan_rsp_pdu_make = 0x40000ca0;
|
||||
r_ble_ll_adv_scheduled = 0x40000ca4;
|
||||
@@ -755,7 +755,7 @@ r_ble_lll_hci_dtm_tx_test_v2 = 0x40001614;
|
||||
r_ble_lll_hci_dtm_tx_test_v2_ext = 0x40001618;
|
||||
r_ble_lll_init = 0x4000161c;
|
||||
r_ble_lll_init_pre_process = 0x40001620;
|
||||
r_ble_lll_init_rx_pkt_isr = 0x40001624;
|
||||
//r_ble_lll_init_rx_pkt_isr = 0x40001624;
|
||||
r_ble_lll_per_adv_coex_dpc_calc_pti_update_itvl = 0x40001628;
|
||||
r_ble_lll_per_adv_coex_dpc_process = 0x4000162c;
|
||||
r_ble_lll_per_adv_coex_dpc_pti_get = 0x40001630;
|
||||
|
@@ -118,7 +118,7 @@ r_ble_ll_adv_rd_sup_adv_sets = 0x40000c7c;
|
||||
r_ble_ll_adv_read_txpwr = 0x40000c80;
|
||||
r_ble_ll_adv_rpa_timeout = 0x40000c8c;
|
||||
r_ble_ll_adv_rpa_update = 0x40000c90;
|
||||
r_ble_ll_adv_scan_req_rxd = 0x40000c98;
|
||||
//r_ble_ll_adv_scan_req_rxd = 0x40000c98;
|
||||
r_ble_ll_adv_scan_rsp_legacy_pdu_make = 0x40000c9c;
|
||||
r_ble_ll_adv_scan_rsp_pdu_make = 0x40000ca0;
|
||||
r_ble_ll_adv_scheduled = 0x40000ca4;
|
||||
|
Reference in New Issue
Block a user