I tried to transplant the mbedtls ssl server code for stm32f769i discovery board to stm32f746g discovery board. The error was printed on to the lcd. I.E. the headers are changed and the BSP is changed.
The error is found to be from mbedtls_mpi_grow(), from inside of which mbedtls_calloc (which in my case is calloc) returns NULL, so that screen message is:
Is there any example of using mbedTLS with stm32f746G-discovery board?