This is "proof-of-concept-quality" code (i.e. no production release) that provides some core functions for FreeRTOS that had to be adapted to work with Altera's NIOS2 architecture. It uses Altera's HAL and Newlib and has no networking support yet. Additionally you'll need FreeRTOS version 4.0.4 to build it, and Altera's NIOS2 IDE (I used version 5.1).
Please note that the directory layout inside the archive isn't final. It isn't easy (maybe not possible at all) to comply with NIOS IDE requirements and FreeRTOS conventions at the same time.