feat(ble): apply new method for rom code logic change on ESP32-C2

(cherry picked from commit 2a0df334e3)

Co-authored-by: cjin <jinchen@espressif.com>
This commit is contained in:
Jin Chen
2026-02-09 20:13:17 +08:00
parent a114208a9b
commit b89eaa814a
5 changed files with 75 additions and 63 deletions
+7 -2
View File
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _BLE_DUMMY_H_
#define _BLE_DUMMY_H_
@@ -285,7 +290,7 @@ int r_ble_ll_customize_peer_sca_get(void){return 0;}
int r_ble_ll_customize_peer_sca_get_eco4(void){return 0;}
int r_ble_ll_utils_calc_window_widening(void){return 0;}
int r_ble_ll_utils_calc_window_widening_eco4(void){return 0;}
#endif // !DEFAULT_BT_LE_PERIODIC_SYNC && !DEFAULT_BT_LE_ROLE_PERIPHERAL
#endif // !DEFAULT_BT_LE_PERIODIC_SYNC && !DEFAULT_BT_LE_ROLE_PERIPHERAL
#if !(CONFIG_BT_NIMBLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED)
void r_ble_vendor_hci_register(void){}
@@ -303,4 +308,4 @@ void r_ble_ll_reset_config_params_eco4(void){}
#endif // !(CONFIG_BT_NIMBLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED)
#endif // _BLE_DUMMY_H_
#endif // _BLE_DUMMY_H_
+2
View File
@@ -74,7 +74,9 @@
#endif // CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
#endif /* CONFIG_BT_LE_CONTROLLER_LOG_MODE_BLE_LOG_V2 */
#if !CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY
#include "ble_dummy.h"
#endif // !CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY
/* Macro definition
************************************************************************
*/