FreeRTOS - A Mini Real Time Kernel

May 8th, 2008 by Mitch Frazier in

Your rating: None Average: 5 (3 votes)

If you're having trouble getting Linux to run on that 8-bit processor with 32KB of memory don't despair, there are open-source alternatives. FreeRTOS is an open source real time kernel that has been ported to a number of microprocessors. The website lists ports to over 40 different processor/compiler combinations.

FreeRTOS supports both co-routines and tasks and numerous forms of IPC. All tasks (and co-routines) run in a single memory space so they are more akin to threads in Linux.

The source consists of 3 or 4 (depending on features used) C source code files plus header files. Porting to a new architecture requires modification to only one of the C files and one of the header files. Depending on the compiler and the compiler options, the basic kernel object code can be reduced to less than 4KB.

FreeRTOS is actively developed and both community and paid support are available. There is also a version available that has been certified for use in safety critical applications. Version 5.0 of FreeRTOS was released in April.

__________________________

Mitch Frazier is an Associate Editor for Linux Journal and the Web Editor for linuxjournal.com.


Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
goblin's picture

License

On May 9th, 2008 goblin says:

The license is the so-called "FreeRTOS Modified GPL license", or a commercial license.

RichardBarry's picture

re License

On May 9th, 2008 RichardBarry (not verified) says:

FreeRTOS is generally statically linked. Without the GPL modification the GPL would stipulate that all code you link with FreeRTOS must also be open sourced. The modification removes this requirement so you can link propriatory code with FreeRTOS. FreeRTOS then remains open source so any modifications you make to the kernel itself are to be open sourced - but your proprietary that uses FreeRTOS through its API code can remains closed source. Without this modification it would be difficult to use FreeRTOS commercially.

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

From the Magazine

December 2009, #188

If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.







Read this issue