From 0d0265f6f3afeed3c6a3545229f90838e16a9ef4 Mon Sep 17 00:00:00 2001 From: liuning Date: Thu, 26 Oct 2023 20:22:09 +0800 Subject: [PATCH] feat(coex): rename coexist sections --- components/esp_coex/linker.lf | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/components/esp_coex/linker.lf b/components/esp_coex/linker.lf index 89f1fd620d..10d99add7e 100644 --- a/components/esp_coex/linker.lf +++ b/components/esp_coex/linker.lf @@ -1,5 +1,23 @@ +[sections:coex_iram] +entries: + .coexiram+ + +[sections:coex_sleep_iram] +entries: + .coexsleepiram+ + +[scheme:coex_iram_config] +entries: + if ESP_WIFI_IRAM_OPT = y: + coex_iram -> iram0_text + else: + coex_iram -> flash_text + if ESP_WIFI_SLP_IRAM_OPT = y: + coex_sleep_iram -> iram0_text + else: + coex_sleep_iram -> flash_text + [mapping:coexist] archive: libcoexist.a entries: - if ESP_WIFI_SLP_IRAM_OPT = y: - * (wifi_slp_iram) + * (coex_iram_config)