why trace_printf("%f",x); triggers a HARD FAULT on a stm32 MCU?
solved. Follow this video and if it doesn't work follow the full series of this tutorial. https://www.youtube.com/watch?v=vSy4QgOP8t8&list=PLQpFqqFXr8MCxMUzun2nnqMwohhxNXWVj&index=4
- I was using a bad linker file
-I was not correctly using syscals.c
-I was using OpenOCD, use Segger. Trust me, it's much better.