I'm trying to receive a data stream from a PC, and I'm used to doing it with a nice interrupt-based parser (originally written for MBed in C++). In a perfect world, I can simply port it over using SerialEvent or some other USB byte-received interrupt, however, forum searches show that as of late last year, it wasn't implemented. Has there been any progress on this end? I'm very comfortable with thread safety, critical sections, and such, and so don't mind the icky details.
Alternately, does anyone have a link to an easy-to-grab FreeRTOS-on-Teensy setup that I can start from? I could also just make a thread that polls once every few MS, and use that as a faux interrupt, but I hate to spend the hours setting up FreeRTOS myself if someone's got a nice setup example I can start from.
Alternately, does anyone have a link to an easy-to-grab FreeRTOS-on-Teensy setup that I can start from? I could also just make a thread that polls once every few MS, and use that as a faux interrupt, but I hate to spend the hours setting up FreeRTOS myself if someone's got a nice setup example I can start from.