feat(coex): support esp32h21 coexist

This commit is contained in:
Xu Si Yu
2026-06-12 14:22:47 +08:00
committed by BOT
parent 47fee134d3
commit 2aceb6f967
4 changed files with 177 additions and 5 deletions
+3 -3
View File
@@ -22,7 +22,7 @@ case $IDF_TARGET in
esp32s3)
PREFIX=xtensa-esp32s3-elf-
;;
esp32c2|esp32c3|esp32c6|esp32h2|esp32c5|esp32c61|esp32s31|esp32h4)
esp32c2|esp32c3|esp32c6|esp32h2|esp32c5|esp32c61|esp32s31|esp32h4|esp32h21)
PREFIX=riscv32-esp-elf-
;;
*)
@@ -91,12 +91,12 @@ echo "Checking libraries for target ${IDF_TARGET}..."
check_md5_file_lib ${IDF_PATH}/components/esp_coex/include/private/esp_coexist_adapter.h g_coex_adapter_funcs_md5
case $IDF_TARGET in
esp32c6|esp32h2|esp32c5|esp32s31|esp32h4)
esp32c6|esp32h2|esp32c5|esp32s31|esp32h4|esp32h21)
check_md5_file_lib ${IDF_PATH}/components/esp_coex/include/esp_coex_i154.h g_coex_i154_funcs_md5
;;
esac
if [[ ! "$IDF_TARGET" =~ ^(esp32h2|esp32h4)$ ]]; then
if [[ ! "$IDF_TARGET" =~ ^(esp32h2|esp32h4|esp32h21)$ ]]; then
check_md5_libs g_coex_basic_md5 g_wifi_coex_basic_md5 ${IDF_PATH}/components/esp_wifi/lib/${LIB_DIR}
fi