ftrias / TeensyDebug

GDB proxy and debugging support to Teensy 3/4
GNU General Public License v3.0
120 stars 19 forks source link

Does not work with freeRTOS #25

Open yamaan93 opened 10 months ago

yamaan93 commented 10 months ago

I was very relieved when I saw this project existed because I found it ridiculous that there is no hardware debugger built into the teensy considering how powerful and capable it is, however, once you have freeRTOS running, the debugger seizes to operate. It will work up until the scheduler starts, however after that, breakpoints are ignored.

ftrias commented 10 months ago

I'm guessing that FreeRTOS probably takes over the timer interrupts. You'll have to figure out how to use a FreeRTOS timer instead. I'm not familiar with that.

yamaan93 commented 10 months ago

Do you have any suggestions for what exactly needs to be replaced with a software interrupt? For example I tried following the instructions in this comment and adding a +1: image but nothing changed.