FreeRTOS.org™ is a portable, open source, mini Real Time Kernel written by Richard Barry - a free to download and royalty free RTOS that can be used in commercial applications. More general information about FreeRTOS can be found at www.freertos.org
An experimental adaptation of FreeRTOS that runs on NIOS II is available for download from www.ixo.de/info/frtos_nios2
FreeRTOS V5.4.2 is the first version to include a Nios II port and demo application in the main .zip file download. See http://www.freertos.org/FreeRTOS-Nios2.html for more details.
The original port only supports the old IRQ api (9.0) these updated files do the following
To run the FreeRTOS Demo the following hardware is required
Most standard Nios designs for Altera dev boards have all of these except possibly the UART. But it is easy to add the uart to the design and just connect the tx to the rx at the top level.
Clearly if you want to change the code you can remove most of these restrictions. But these are the requirements for the "out of box" experience.
Now your should be read to go.
To test your FreeRTOS OS installation
To test your application
· FreeRTOS_Demo.zip - bundled Demo
· FreeRTOS_sw.tcl - sw tcl file -- this is the magic that make the tools recognize this OS
· main.c - This is essantially the same file that comes with the standard Demo I just added a "." that prints every 5 seconds
· port.c - Updated ports.c that uses the new API and provides the new irq/isr register function
· serial.c - Changed this so that it suports the new API and uarts named UART or UART1
· template.xml - This is the template file which is need to make this Demo accessable as a template.