Skip to content

Commit e92e946

Browse files
committed
fix(wifi_remote): Prefix slave deps with WIFI_RMT_
1 parent 1711af2 commit e92e946

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

components/esp_wifi_remote/idf_v5.5/Kconfig.wifi.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ config WIFI_RMT_SLP_IRAM_OPT
323323
select PM_SLP_DEFAULT_PARAMS_OPT
324324
select PM_SLEEP_FUNC_IN_IRAM
325325
select ESP_PERIPH_CTRL_FUNC_IN_IRAM
326-
select ESP_PHY_IRAM_OPT
326+
select WIFI_RMT_PHY_IRAM_OPT
327327
default y if SLAVE_SOC_WIFI_HE_SUPPORT
328328
help
329329
Select this option to place called Wi-Fi library TBTT process and receive beacon functions in IRAM.

components/esp_wifi_remote/idf_v6.0/Kconfig.wifi.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ config WIFI_RMT_SLP_IRAM_OPT
323323
select PM_SLP_DEFAULT_PARAMS_OPT
324324
select PM_SLEEP_FUNC_IN_IRAM
325325
select ESP_PERIPH_CTRL_FUNC_IN_IRAM
326-
select ESP_PHY_IRAM_OPT
326+
select WIFI_RMT_PHY_IRAM_OPT
327327
default y if SLAVE_SOC_WIFI_HE_SUPPORT
328328
help
329329
Select this option to place called Wi-Fi library TBTT process and receive beacon functions in IRAM.

components/esp_wifi_remote/scripts/generate_and_check.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,9 @@ def generate_kconfig(idf_path, idf_ver_dir, component_path):
444444
modified_line = re.compile(r'\b' + config + r'\b').sub('SLAVE_' + config, modified_line)
445445
# Replace the primary prefix ESP_WIFI_ with WIFI_RMT_
446446
modified_line = re.compile(r'\bESP_WIFI_').sub('WIFI_RMT_', modified_line)
447+
# TODO: Capture all host dependencies and replace them with WIFI_RMT_ prefix
448+
# keep track and check integrity with slave settings
449+
modified_line = re.compile(r'\bESP_PHY_IRAM_OPT').sub('WIFI_RMT_PHY_IRAM_OPT', modified_line)
447450

448451
# If a current config block is active, check for changes in indentation
449452
if current_config is not None:

0 commit comments

Comments
 (0)