8 years, 1 month ago.

Missing Callback.h in mbed RTOS

I added RTOS library to my project and tried to compile it. In RTOS/Thread.h there is missing Callback.h and compilation stops.

I then tried to start a new project where I only have Mbed and RTOS included but now compilation stops at missing mbed_error.h in Mutex.h. It really seems that there are some bugs on Mbed RTOS library. Is there any way to solve the problem?

I am having the same issue and can find no solution

posted by Donovan Kuhstoss 12 Nov 2016

1 Answer

8 years, 1 month ago.

If you're on mbed OS 5 (mbed-os library as dependency) you should not add rtos library as it's already included.

If you're on mbed 2.0 (mbed or mbed-dev library as dependency) you should add `mbed-rtos` (not rtos) to your project.

I have created a new project with mbed and mbed-rtos library just now and compiles fine against K64F and F401RE's target.

Accepted Answer