Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linker Error: Cannot Find -lbtdm_app With ESP32C5 (CON-1483) #1215

Closed
Miaojianyu opened this issue Dec 19, 2024 · 1 comment
Closed

Linker Error: Cannot Find -lbtdm_app With ESP32C5 (CON-1483) #1215

Miaojianyu opened this issue Dec 19, 2024 · 1 comment

Comments

@Miaojianyu
Copy link

Description:
I encountered a linker error while building the project with esp32c5 target. The error message indicates that the linker cannot find the -lbtdm_app library. This issue arises in the CMakeList.txt(connectedhomeip/connectedhomeip/config/esp32/components/chip)

Steps to Reproduce:

  1. Ensure that the CONFIG_BT_ENABLED option is enabled in the project configuration.
  2. Attempt to build the project using the command with esp32c5: idf.py build.
  3. Observe the linker error stating: cannot find -lbtdm_app.

Solution:
In the CMakeList.txt(connectedhomeip/connectedhomeip/config/esp32/components/chip) file, at line 434 add (target_name STREQUAL "esp32c5")
esp32c5

@github-actions github-actions bot changed the title Linker Error: Cannot Find -lbtdm_app With ESP32C5 Linker Error: Cannot Find -lbtdm_app With ESP32C5 (CON-1483) Dec 19, 2024
@shripad621git
Copy link
Contributor

@Miaojianyu , is there any specific requirement for using esp32c5?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants