From 3cd5ba44d1240c212d0b79f19e34ce93df937e55 Mon Sep 17 00:00:00 2001 From: wangmengyang Date: Wed, 14 Dec 2022 14:30:05 +0800 Subject: [PATCH] phy: removed unit test cases for some functions against cache disabled condition on ESP32-C3 function bt_bb_v2_init_cmplx and coex_pti_v2 are only used during bluetooth Controller initialization and do not require IRAM attribute --- components/esp_phy/test/test_phy_rtc.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/components/esp_phy/test/test_phy_rtc.c b/components/esp_phy/test/test_phy_rtc.c index 6173f648e4..ab10528093 100644 --- a/components/esp_phy/test/test_phy_rtc.c +++ b/components/esp_phy/test/test_phy_rtc.c @@ -97,20 +97,6 @@ static IRAM_ATTR void test_phy_rtc_cache_task(void *arg) spi_flash_enable_interrupts_caches_and_other_cpu(); #endif //CONFIG_IDF_TARGET_ESP32 -#if CONFIG_IDF_TARGET_ESP32C3 - extern void bt_bb_v2_init_cmplx(int print_version); - ESP_LOGI(TAG, "Test bt_bb_v2_init_cmplx()..."); - spi_flash_disable_interrupts_caches_and_other_cpu(); - bt_bb_v2_init_cmplx(0); - spi_flash_enable_interrupts_caches_and_other_cpu(); - - extern void coex_pti_v2(void); - ESP_LOGI(TAG, "Test coex_pti_v2()..."); - spi_flash_disable_interrupts_caches_and_other_cpu(); - coex_pti_v2(); - spi_flash_enable_interrupts_caches_and_other_cpu(); -#endif //CONFIG_IDF_TARGET_ESP32C3 - #endif //SOC_BT_SUPPORTED //power down wifi and bt mac bb power domain