Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


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 ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists