2 years, 1 month ago.

Procedure for contributing mbed RTOS?

Hi,

Is there any document discussing about the procedures of contributing to mbed RTOS?

I checked the mbed RTOS's source code. If I understand correctly, the RTOS does not differentiate the priorities among real-time tasks or support the periodic real-time task mode (which is not the same with the sporadic task mode supported by wait()-similar functions).

I'm a TA in University of Pennsylvania. We plan to ask students in an embedded system class to develop a real-time fixed-priority scheduler (such as the Rate Monotonic scheduler) in mbed RTOS as their course homework/project. As extra credits, we plan to pick several top groups and ask them to upstream their code.

We want to know if it is accepted by mbed RTOS development team before we put it as an extra credit?

BTW, I have developed a version of the fixed-priority scheduler based on the periodic task model. The scheduling is similar to the FP scheduling in https://www.cis.upenn.edu/~linhphan/papers/emsoft14-rt-xen.pdf

Comment on this question

2 Answers

2 years, 1 month ago.

Seconding what Mark said. mbed OS (incl. RTOS) is licensed under Apache 2 and contributions are welcomed. Note that the underlying RTOS is shared with CMSIS-RTOS RTX 5, and embedded here, so upstreaming changes there are less trivial (although doable!) than other parts than mbed OS.

Thank you very much for your helpful reply! Is there any document (such as the rules developers should follow) or mailing list (as the linux kernel development mailing list) for the mbed RTOS developers?

Thank you again for your help!

posted by Meng Xu 31 Aug 2017

CMSIS-RTOS is also developed on GitHub, that'd be a good starting point. The Keil website could also be used.

posted by Jan Jongboom 04 Sep 2017
2 years, 1 month ago.

The source is on GitHub https://github.com/ARMmbed/mbed-os/ You can make a pull request with your changes (improvements).

Thank you very much for your reply! It's helpful.

posted by Meng Xu 31 Aug 2017