mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 13:09:38 +00:00 
			
		
		
		
	feat(ble): add flash only param config api on ESP32-H2
This commit is contained in:
		| @@ -146,8 +146,7 @@ extern void r_ble_rtc_wake_up_state_clr(void); | |||||||
| extern int os_msys_init(void); | extern int os_msys_init(void); | ||||||
| extern void os_msys_deinit(void); | extern void os_msys_deinit(void); | ||||||
| #if CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY | #if CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY | ||||||
| extern void r_ble_ll_scan_start_time_init_compensation(uint32_t init_compensation); | extern void esp_ble_controller_flash_only_param_config(void); | ||||||
| extern void r_priv_sdk_config_insert_proc_time_set(uint16_t insert_proc_time); |  | ||||||
| #endif // CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY | #endif // CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY | ||||||
| #if CONFIG_FREERTOS_USE_TICKLESS_IDLE | #if CONFIG_FREERTOS_USE_TICKLESS_IDLE | ||||||
| extern sleep_retention_entries_config_t *r_esp_ble_mac_retention_link_get(uint8_t *size, uint8_t extra); | extern sleep_retention_entries_config_t *r_esp_ble_mac_retention_link_get(uint8_t *size, uint8_t extra); | ||||||
| @@ -1132,8 +1131,7 @@ esp_err_t esp_bt_controller_enable(esp_bt_mode_t mode) | |||||||
| #endif // CONFIG_SW_COEXIST_ENABLE | #endif // CONFIG_SW_COEXIST_ENABLE | ||||||
|  |  | ||||||
| #if CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY | #if CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY | ||||||
|     r_ble_ll_scan_start_time_init_compensation(500); |     esp_ble_controller_flash_only_param_config(); | ||||||
|     r_priv_sdk_config_insert_proc_time_set(500); |  | ||||||
| #endif // CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY | #endif // CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY | ||||||
|  |  | ||||||
|     if (ble_stack_enable() != 0) { |     if (ble_stack_enable() != 0) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 zwl
					zwl