From 4a61fda5fbddaff15037ce89d01b690f06dddda4 Mon Sep 17 00:00:00 2001 From: linruihao Date: Wed, 27 Mar 2024 19:06:34 +0800 Subject: [PATCH] fix(bt): fixed cmakelist error on c2 Closes https://github.com/espressif/esp-idf/issues/13451 --- components/bt/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/bt/CMakeLists.txt b/components/bt/CMakeLists.txt index d2046f7ef4..3961aea2f4 100644 --- a/components/bt/CMakeLists.txt +++ b/components/bt/CMakeLists.txt @@ -84,9 +84,6 @@ if(CONFIG_BT_ENABLED) elseif(CONFIG_IDF_TARGET_ESP32S3) list(APPEND srcs "controller/esp32c3/bt.c") - elseif(CONFIG_IDF_TARGET_ESP32C2) - list(APPEND srcs "controller/esp32c2/bt.c") - elseif(CONFIG_IDF_TARGET_ESP32C2) set(ldfragments "linker.lf.esp32c2") list(APPEND srcs "controller/esp32c2/bt.c")