Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Linux PORT

Posted by Eric Boucher on June 16, 2008
Hi all,

I'd like to know if there is a linux port of FreeRTOS?
If not, what would be needed to port it to linux.

Many thanks,


RE: Linux PORT

Posted by Richard on June 16, 2008
This was something I was talking to a colleague about just the other day. He is keen to create one but there is not time line set yet. There is a POSIX wrapper for FreeRTOS.org available on the net (you will have to Google it as I don't have the link) - this would give a very good starting point.


RE: Linux PORT

Posted by Eric Boucher on June 17, 2008
Thanks for your answer.
Please let me know when/if you get a working linux port.
Do you also have more precise keywords to search for as frertos, posix and wrapper doesn't seem to give useful results.



RE: Linux PORT

Posted by M Beronius on August 18, 2008

OK, so also I need this desperately now.. :-)
Google did not help me to the solution..

Eric, did you ever find this wrapper?

If not:-
Richard can you give us some more detailed pointers?

RE: Linux PORT

Posted by David Farrell on August 20, 2008

As slick as FreeRTOS is running on embedded ARMs, why would one use it instead of
pthreads on linux? Do you mean running linux as a task under FreeRTOS to
improve real time response of other tasks or wrapping FreeRTOS calls to pthreads
underneath? I am being curious here, not critical...


RE: Linux PORT

Posted by Neil Bradley on August 20, 2008
I can think of a lot of reasons:

1) Sub microsecond boot times vs. minutes under Linux
2) Much smaller footprint, both in-memory and flash (10s of K vs. megabytes of each)
3) No need for anything Linux-like or any other UNIXish tools
4) No GPL hangups
5) Realtime reaspons (Linux isn't realtime - it's pseudo realtime)

RE: Linux PORT

Posted by M Beronius on August 20, 2008

Well, for me, I just want to be able to run the firm/soft-ware on my (linux-) desktop and other boxes in order to test the firmware before having the real hardware, and also run large virtual interconnected systems. Hard realtime requirements is not that important for me, at least not for the test.
So POSIX wrappers are OK by my needs.

(my application is a multiple node set-up communicating over tcp)

RE: Linux PORT

Posted by Richard on August 20, 2008
Well I can't find the WEB link anymore, but I have found the .tar file that contains all the files on my hard disk. I can send it to you - but its 40MBytes. It must be quite old now, and I have no idea if it is complete, but it might be of interest. If you get it working then it would be good to include it in the 'contributed ports' section.


RE: Linux PORT

Posted by Richard on August 20, 2008
hang on a minute.....now I've unzipped it it has given me some more key words to search for. Check this out: http://chungyan5.no-ip.org/vc/?root=freertos_posix. Seems to be part of this: http://www.opencircuits.com/DsPIC30F_5011_Development_Board.


RE: Linux PORT

Posted by Richard on August 20, 2008
Note - you have to remove the full stop (period) from the end of the URL for the links to work!


RE: Linux PORT

Posted by M Beronius on August 20, 2008

Cheers, I have now downloaded the trunk, and will have a look into this. I'm sure I can use /some/all/parts/ of it!


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner