Want to make your own scheduler or a small-footprint RTOS? Don’t bother. A tiny Kernel called OSA does the work remarkably well. This blog post on “An Engineer’s Diary” by Nouman Qaiser shows you how to make your first RTOS project in mikroC.


Why mikroC? As the author puts it:

The compiler used will be mikroC Pro for PIC, just because I love it, no other reason.

Timer Calculator comes in handy for setting up timer ticks for the scheduler’s task switcher:

Yeah, you forgot the prescalers, configuration registers and that stuff you studied in class, I hated them because there are programs made to remember those things. Launch the timer calculator. It knows all that you forgot 🙂

Check out the detailed tutorial here, featuring explanatory screen-shots and code snippets.

Yours sincerely,

Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+