diff --git a/components/bt/controller/CMakeLists.txt b/components/bt/controller/CMakeLists.txt index 1da8ffb796b..d104f98c703 100644 --- a/components/bt/controller/CMakeLists.txt +++ b/components/bt/controller/CMakeLists.txt @@ -41,6 +41,13 @@ function(register_bt_ctrl_libs) add_prebuilt_library(libble_app "${lib_path}/libble_app.a" REQUIRES esp_phy bt) endif() else() + file(GLOB ILLEGAL_LIB_FILES "${lib_path}/*.a") + if(ILLEGAL_LIB_FILES) + message(FATAL_ERROR + "${lib_path} should not contain the library files!" + ) + endif() + if(CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY AND EXISTS "${lib_path}/${idf_target}/libble_app_flash.a") add_prebuilt_library(libble_app "${lib_path}/${idf_target}/libble_app_flash.a" REQUIRES esp_phy bt) else() diff --git a/components/bt/controller/lib_esp32h2/esp32h2-bt-lib b/components/bt/controller/lib_esp32h2/esp32h2-bt-lib index e786a298d3d..b7db86bd4d5 160000 --- a/components/bt/controller/lib_esp32h2/esp32h2-bt-lib +++ b/components/bt/controller/lib_esp32h2/esp32h2-bt-lib @@ -1 +1 @@ -Subproject commit e786a298d3dca713b9cf5801864de0b9f75cdf04 +Subproject commit b7db86bd4d579055c4a47ca849575513f00a23f9