STM32H7 and calloc failure
Hi,
I am using a STMH743 running an LWIP example, added in mbedTLS to the mix.
Eventually, got into a certificate parse issue,
narrowing it down:
I found that calloc failed:
(890) x509_crt_parse_der_core:
(899) x509_crt_parse_der_core: mbedtls_calloc(), crt->raw.p=NULL, len:995
Tried searching a bit on calloc failure, came up with this link:
https://www.keil.com/support/docs/4094.htm
But that appears to match ( ? ) the startup file that I do have:
;*******************************************************************************
; User Stack and Heap initialization
;*******************************************************************************
IF :DEF:__MICROLIB
EXPORT __initial_sp
EXPORT __heap_base
EXPORT __heap_limit
ELSE
IMPORT __use_two_region_memory
EXPORT __user_initial_stackheap
__user_initial_stackheap
LDR R0, = Heap_Mem
LDR R1, =(Stack_Mem + Stack_Size)
LDR R2, = (Heap_Mem + Heap_Size)
LDR R3, = Stack_Mem
BX LR
ALIGN
ENDIF
END
;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****I am at a loss, how to go forward.
Can someone help ?
Thanks,
Manu
