Question
MBEDTLS / STM32CubeMX Broken?
I am trying to implement an MBEDTLS client based on an ST example. The MBEDTLS code fails when it tries to allocate memory using calloc. Apparently, users have been experiencing this for over a year.
The MBEDTLS code uses dynamic memory allocation (calloc()) which apparently is incompatible with FreeRTOS.
- Is there an easy work around?
- Do I need to write my own memory allocation?
- Am I going to run into problems with LWIP stack?
I am not an experienced embedded programmer. I am willing to try to work around this problem; but, I don't want to keep running into road block after road block. I will soon have to consider moving to another platform.
