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
This commit is contained in:
wangmengyang 2022-12-14 14:30:05 +08:00 committed by Chen Yu Dong
parent c55d82d1fa
commit 3cd5ba44d1

View File

@ -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