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 ago.
how to include rtos.h in a program using threading?
I tried #include "rtos.h" but the online compiler keeps complaining it can't find the file.
Please HELP!
thanks Leonard Visser!
1 Answer
5 years ago.
Hi Leonard,
Please check if there is mbed-os
library under your project. If what you see is mbed
library, that means you are using Mbed2, which doesn't support rtos.h
, you need to import mbed-os
library.
Regards, Desmond