Linux PORT

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, Eric

Linux PORT

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. Regards.

Linux PORT

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. Regards, Eric.

Linux PORT

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?

Linux PORT

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… David.

Linux PORT

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)

Linux PORT

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)

Linux PORT

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. Regards.

Linux PORT

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. Regards.

Linux PORT

Note – you have to remove the full stop (period) from the end of the URL for the links to work! Regards.

Linux PORT

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! Micael

Linux PORT

Hello all , Thanks to the Simulator by Mr. Davy now that freeRTOS works on linux. I wanted to know if there is a FreeRTOS+TCP Demo for linux as well ? I am not trying to port it onto any board , just as the FreeRTOS TCP demo for Windows, the same is available for Linux ? If yes , please share the link or the Demo Project. Thank you and Best Regards Himanshu

Linux PORT

I’m not aware of a demo for Linux. The Windows port uses WinPcap, which is basically a Windows version of a Linux utility, so I would imagine the same could be done on Linux.

Linux PORT

Hi All, There are a couple of UNIX/Linux ports maintained across the net. The port referred to by the FreeRTOS homepage seems outdated as it mentions version 6.0.4 in the filename. I’ve personally used the one maintained by megakilo (https://github.com/megakilo/FreeRTOS-Sim), but it seems to be archived now and switched to the one maintained by shlinym (https://github.com/shlinym/FreeRTOS-Sim), which seems to work just fine on Linux and supposedly works on macOS as well. Any chance a Linux (UNIX) port will be part of the (official) distribution? Maybe just a version that is kept out-of-tree so there is a place where fixes etc can be upstreamed too? Thank you. Jeroen

Linux PORT

Hi – it is planned so far as while there are other ports available on the web it is not really blocking anybody hence it never gets to the top of the priority list. That said one of my colleagues actually created a brand new Linux port recently that was using lower level Linux functionality than the others on the web, but we didn’t publish it as we realised it was using some deprecated features.

Linux PORT

Hi Richard, Not to overstep my boundaries, but is the port still being worked on? If so, is there any kind of eta you can give? I’m working on Eclipse Cyclone DDS, an open source middleware product, and I’ve made a port to FreeRTOS. I would very much like to use the simulator to verify FreeRTOS compatibility is still intact with every change. Currently I’m planning on just using and pointing users towards on of the simulators that seems most active, but It would be great if I could just use the official distribution. If I were to grab one of the ports and ensure it’s neatly documented, working etc, would that be something that could enter the official distribution or is the preferred approach here to wait until the new simulator is ready?
  • Jeroen

Linux PORT

Hi Jeroen – let me see if we can check it in – with the Caveat that its new and seems to be using deprecated features….. We can see where it goes from there.

Linux PORT

Hi Richard – Sounds very, very good! Thank you.