Mbedtls/config.h: No such file or directory


I got a disco_f407vg with some additional libraries. Also mbedtls. But the config.h is missing. I probably need to set it by myself. But the big question: Where and how? Are there any examples?

First of all, what exact platformio.ini do you have? Do you have a project which reproduces the error?

I published the code

Since you’re building on mbed-os, you don’t need to externally pull mbedtls in. It’s already included: https://github.com/ARMmbed/mbed-os/tree/master/features/mbedtls (version 2.19.0 in PlatformIO).

Refer to an example like platform-ststm32/examples/mbed-rtos-ethernet-tls at develop · platformio/platform-ststm32 · GitHub for PlatformIO.