STM32G484 HardFault_Handler
Hi,
I got stuck in the HardFault_Handler every time after editing some code.
I'm using FreeRTOS in c++ combination with classes. First I thought this would be a memory issue.
After increasing configTOTAL_HEAP_SIZE and configMINIMAL_STACK_SIZE, I was still stuck in the HardFault_Handler. Even by jumping into a function, before I returned from this function the HardFault_Handler was tripped again.
I really tried a number of things...
I made a function (bool Controller::DefaultConfig()) to set the default configuration when nothing was available in the flash and I forgot the return true or false. When adding the return with a result, the problem with HardFault was solved.
Is this a logical behavior? (A compiler error would make more sense)
Greetings,
ErX
