Trying to get Segger RTT working and found I needed reentr.h, so I tried switching to newlib to solve that problem. Once I do, I get hard fault (Imprecise data bus) when I try and use the idle function in FreeRTOS
Project attached
Switching to Redlib works fine, newlib crashes
Seems to work ok if I turn the idle function off, although I haven't troubleshot it further
My goal is to get Segger RTT working on the CM4 core, which is proving much more difficult than anticipated. Are there any examples for this?
Hi @chect1,
Unfortunately we do not have any documentation or example of how to integrate Segger RTT with the RT1170's CM4 core. However, Erich Styger does have a post on how to properly integrate newlib (and newlib-nano) with FreeRTOS for our MCUs, so please look into that and let me know if it works for you: Using FreeRTOS with newlib and newlib-nano | MCU on Eclipse
BR,
Edwin.