Including mbedtls - undefined references

_chris_
Posts: 2
Joined: Fri Oct 20, 2017 6:46 pm

Including mbedtls - undefined references

Postby _chris_ » Fri Oct 20, 2017 6:49 pm

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

f.h-f.s.
Posts: 215
Joined: Thu Dec 08, 2016 2:53 pm

Re: Including mbedtls - undefined references

Postby f.h-f.s. » Sun Oct 22, 2017 10:39 am

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.

Who is online

Users browsing this forum: No registered users and 105 guests