5 years, 2 months ago.  This question has been closed. Reason: Too broad - no single answer

How to turn a serial interrupt into an RTOS serial interrupt?

Currently, in my main function, I do serialPc.attach(&newMsg) to catch serial input. But I wanted to have it as a thread, as explained under 'RTOS Interrupt Handling' on the page 37 of https://www.keil.com/pack/doc/CMSIS/RTOS/html/CMSIS_RTOS_Tutorial.pdf.

But there seems to be some difference in syntax of how it is done in CMSIS RTOS and mbed RTOS. Such as the id of thread and signal managing. Is there any sample code on RTOS Interrupt Handling specifically for mbed 5?