feat(ble): make env init function cuttable on ESP32-C2

This commit is contained in:
cjin
2026-02-09 09:31:44 +08:00
parent 1e75562404
commit 5ec82368ba
7 changed files with 320 additions and 326 deletions
+1 -3
View File
@@ -89,9 +89,7 @@ if(CONFIG_BT_ENABLED)
list(APPEND ldscripts "linker_rw_bt_controller.lf")
elseif(CONFIG_IDF_TARGET_ESP32C2)
list(APPEND srcs "controller/${target_name}/ble.c")
if(CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY)
list(APPEND srcs "controller/esp32c2/dummy.c")
endif()
list(APPEND srcs "controller/esp32c2/dummy.c")
set(ldscripts "linker_esp32c2.lf")
else()
list(APPEND srcs "controller/${target_name}/ble.c")