Page 1 of 1

Including mbedtls - undefined references

Posted: Fri Oct 20, 2017 6:49 pm
by _chris_
Dear all,

I'm trying to include mbedtls in my project. I actually have the same problem as the user here:
https://esp32.com/viewtopic.php?f=2&t=3080&start=10#

I really have to include aes.c, otherwise I got a lot of undefined references concerning the mbed stuff. Did I do something wrong with my toolchain?
Here's what I did: I created a new folder and adjusted the paths to point to the esp-idf path. Then I copied mbedtls folder (from esp-idf/components) to myfolder/components

Re: Including mbedtls - undefined references

Posted: Sun Oct 22, 2017 10:39 am
by f.h-f.s.
You should not have to copy the mbedtls folder to your own components folder.
What happens when you try to build the https example(it uses the mbedtls component)? https://github.com/espressif/esp-idf/tr ... ps_request
If you have set up everything correctly you should be able to run "make flash" in that folder.