Buiding C/C++ mixing project and occur hard fault - malloc is not working ? -
Hello.
I need to build C/C++ mixing project with microlib.
Building is completed but occur hardfault after loading soon.. not reached to main().
Call stack
HardFault_Handler -- 0x080xxxx
malloc -- 0x0000000
Could you let me know how to fix this issue ?
P.S
after, I checked building withouth microlib.
the result was same but the call stack :
_sys_open 0x0800xxx
freopen 0x08000xxx
_initio 0x800xxxx
0x000000
What is the root cause ? something wrong with my application ?
Regards
Shige