Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 9 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?