fix(bt): fixed cmakelist error on c2

Closes https://github.com/espressif/esp-idf/issues/13451
This commit is contained in:
linruihao 2024-03-27 19:06:34 +08:00
parent 5fa57d12b2
commit 4a61fda5fb

View File

@ -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")