Troubles with FreeRTOS-HardFaults-Mallocs etc
Hello all,
i'm facing a lot of troubles to run my server application on stm32.
The server runs in a task. I'm using FreeRTOS.
I can't explain everything here but i can share the code.
First of all my application goes into HardFault in a kinda random way, for example if i comment a printf...then i undo the comment and it doesn't go in hardfault anymore.. If i make a change, even minimum and useless, it goes into hardfault ?!?!?
Another issue is malloc returning nothing. The pointer keeps pointing at 0.
If i use malloc in the main, before the kernel start, it works correctly. If i use it in the task it doesn't work at all. I could probably find another way than using malloc but the hardfaults are the biggest issues.
If you want i can share the code.
