Hello, i have a project for cortex-m1 with FreeRTOS and i’m trying to find out hard faults reasons. Because of that i want to use -finstrumental-functions of GCC compiler. Unfortunatelly this option cause new Hard Fault somethere at the beginning of execution. Did someone try to use this option on ARM arch? Thich FreeRTOS function should be marked with attribute((no_instrument_function))? Or maybe i need to use some other tricks?
Thanks in advance