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

fatal error: mbedtls/atca_mbedtls_wrap.h: No such file or directory (IDFGH-13877) #14722

Closed
3 tasks done
hitecSmartHome opened this issue Oct 14, 2024 · 4 comments
Closed
3 tasks done
Labels
Resolution: Won't Do This will not be worked on Status: Done Issue is done internally Type: Bug bugs in IDF

Comments

@hitecSmartHome
Copy link

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.

IDF version.

5.3.0

Operating System used.

Windows

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

CMD

What is the expected behavior?

To compile

What is the actual behavior?

Does not compile. atca_mbedtls_wrap.h does not exists.

Steps to reproduce.

define CONFIG_ESP_TLS_USE_SECURE_ELEMENT

Build or installation Logs.

Compiling .pio\build\esp-wrover-kit\esp_adc\adc_continuous.c.o
C:\Users\Pc\.platformio\packages\framework-espidf\components\esp-tls\esp_tls_mbedtls.c:33:10: fatal error: mbedtls/atca_mbedtls_wrap.h: No such file or 
directory
   33 | #include "mbedtls/atca_mbedtls_wrap.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio\build\esp-wrover-kit\esp-tls\esp_tls_mbedtls.c.o] Error 1
Compiling .pio\build\esp-wrover-kit\esp_adc\esp32\adc_dma.c.o
======================= [FAILED] Took 226.36 seconds =======================

More Information.

No response

@hitecSmartHome hitecSmartHome added the Type: Bug bugs in IDF label Oct 14, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Oct 14, 2024
@github-actions github-actions bot changed the title fatal error: mbedtls/atca_mbedtls_wrap.h: No such file or directory fatal error: mbedtls/atca_mbedtls_wrap.h: No such file or directory (IDFGH-13877) Oct 14, 2024
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Won't Do This will not be worked on and removed Status: Opened Issue is new labels Oct 21, 2024
@torntrousers
Copy link

Have the same problem. @hitecSmartHome - did you find some work around? Espressif any explanation for why closed "Won't do"?

@hitecSmartHome
Copy link
Author

I think I disabled use secure element in mbedtls in the menuconfig but iam not sure

@AdityaHPatwardhan
Copy link
Collaborator

Hi @hitecSmartHome,
I think this was due to CONFIG_MBEDTLS_ATCA_HW_ECDSA_SIGN option being disabled at your end. This option internally sets MBEDTLS_ECDSA_SIGN_ALT without which the above failure is observed in esp-cryptoauthlib
Can you please share your sdkconfig to confirm the above.

@torntrousers
As you see, we didn't close the issue, it was closed by the OP and we thought it was closed as it has been self-resolved.

@hitecSmartHome
Copy link
Author

Yes, It has been self resolved. I remember I tweaked some mbedtls options in the menuconfig at that time and I enabled or disabeld something I tought I needed and got this error. Really need more description for the options in the menuconfig. A lot of things are not labeled properly. Or lacks description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Won't Do This will not be worked on Status: Done Issue is done internally Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

4 participants