From d9a675eff31185f81912631aa9ddb5c5acb5e906 Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Mon, 17 Mar 2025 14:38:44 +0800 Subject: [PATCH] change: for ci pipeline check pre commit pass --- components/esp_hw_support/Kconfig | 8 ++++---- components/esp_hw_support/linker.lf | 6 +++--- components/esp_wifi/Kconfig | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/esp_hw_support/Kconfig b/components/esp_hw_support/Kconfig index 0beaf438f9..d63f73fd2b 100644 --- a/components/esp_hw_support/Kconfig +++ b/components/esp_hw_support/Kconfig @@ -71,8 +71,8 @@ menu "Hardware Settings" config ESP_SLEEP_POWER_DOWN_FLASH bool "Power down flash in light sleep when there is no SPIRAM or SPIRAM has independent power supply" select PM_SLP_IRAM_OPT - select PERIPH_CTRL_FUNC_IN_IRAM - select REGI2C_CTRL_FUNC_IN_IRAM + select ESP_PERIPH_CTRL_FUNC_IN_IRAM + select ESP_REGI2C_CTRL_FUNC_IN_IRAM depends on !SPIRAM || ESP_LDO_RESERVE_PSRAM depends on !(IDF_TARGET_ESP32P4 && (ESP32P4_REV_MIN_FULL < 100)) default n @@ -222,14 +222,14 @@ menu "Hardware Settings" endmenu menu "Peripheral Control" - config PERIPH_CTRL_FUNC_IN_IRAM + config ESP_PERIPH_CTRL_FUNC_IN_IRAM bool "Place peripheral control functions into IRAM" default n help Place peripheral control functions (e.g. periph_module_reset) into IRAM, so that these functions can be IRAM-safe and able to be called in the other IRAM interrupt context. - config REGI2C_CTRL_FUNC_IN_IRAM + config ESP_REGI2C_CTRL_FUNC_IN_IRAM bool "Place regi2c control functions into IRAM" default y help diff --git a/components/esp_hw_support/linker.lf b/components/esp_hw_support/linker.lf index 012490c468..936ae8d420 100644 --- a/components/esp_hw_support/linker.lf +++ b/components/esp_hw_support/linker.lf @@ -40,7 +40,7 @@ entries: sleep_usb (noflash) if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y: rtc_wdt (noflash_text) - if PERIPH_CTRL_FUNC_IN_IRAM = y: + if ESP_PERIPH_CTRL_FUNC_IN_IRAM = y: periph_ctrl:periph_module_reset (noflash) periph_ctrl:periph_rcc_enter (noflash) periph_ctrl:periph_rcc_exit (noflash) @@ -48,10 +48,10 @@ entries: periph_ctrl:periph_rcc_acquire_exit (noflash) periph_ctrl:periph_rcc_release_enter (noflash) periph_ctrl:periph_rcc_release_exit (noflash) - if PERIPH_CTRL_FUNC_IN_IRAM = y && ESP_WIFI_ENABLED = y: + if ESP_PERIPH_CTRL_FUNC_IN_IRAM = y && ESP_WIFI_ENABLED = y: periph_ctrl: wifi_module_enable (noflash) periph_ctrl: wifi_module_disable (noflash) - if REGI2C_CTRL_FUNC_IN_IRAM = y: + if ESP_REGI2C_CTRL_FUNC_IN_IRAM = y: regi2c_ctrl:regi2c_ctrl_read_reg (noflash) regi2c_ctrl:regi2c_ctrl_read_reg_mask (noflash) regi2c_ctrl:regi2c_ctrl_write_reg (noflash) diff --git a/components/esp_wifi/Kconfig b/components/esp_wifi/Kconfig index 12bb27c372..f56d6d7332 100644 --- a/components/esp_wifi/Kconfig +++ b/components/esp_wifi/Kconfig @@ -343,7 +343,7 @@ menu "Wi-Fi" config ESP_WIFI_SLP_IRAM_OPT bool "WiFi SLP IRAM speed optimization" select PM_SLP_DEFAULT_PARAMS_OPT - select PERIPH_CTRL_FUNC_IN_IRAM + select ESP_PERIPH_CTRL_FUNC_IN_IRAM default y if SOC_WIFI_HE_SUPPORT help Select this option to place called Wi-Fi library TBTT process and receive beacon functions in IRAM.