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

Failure to compile a new BLufi aplication from zero SDK RELEASE V5.2 [BUG] (IDFGH-12166) #13221

Closed
3 tasks done
filzek opened this issue Feb 20, 2024 · 2 comments
Closed
3 tasks done
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@filzek
Copy link

filzek commented Feb 20, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

BUG DO NOT WORKING THE RIGHT WAY IN SDK V5.2

Create a new project and try to build the the structure to use the mbedtls_dhm_init same as in blufi returns an error not finding the reference.

C:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld.exe: esp-idf/main/libmain.a(app_main.c.obj):(.literal.blufi_security_init+0x4): undefined reference to `mbedtls_dhm_init'

@espressif-bot espressif-bot added the Status: Opened Issue is new label Feb 20, 2024
@github-actions github-actions bot changed the title Failure to compile a new BLufi aplication from zero SDK RELEASE V5.2 [BUG] Failure to compile a new BLufi aplication from zero SDK RELEASE V5.2 [BUG] (IDFGH-12166) Feb 20, 2024
@filzek
Copy link
Author

filzek commented Feb 20, 2024

to make it work need to add the component to
Cmakelist
REQUIRES mbedtls

also in the sdkconfig
CONFIG_MBEDTLS_DHM_C=y

so, need to clarify some parts in the esp-idf docs about usage of MBEDTLS and BLuFi security as well

@filzek
Copy link
Author

filzek commented Feb 20, 2024

if uses that directives it will work

@filzek filzek closed this as completed Feb 20, 2024
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants