Quality RTOS & Embedded Software

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


Nios Port (FreeRTOS 7.3.0 + Altera 11) Example Project Fails to Compile

Posted by blipton on June 1, 2014

I've been testing the sample webserver using Altera's nichestack/ucosii, and would like now to test a webserver using lwip/freertos..

unfortunately, while alt-freertos-lwip-install.bat seems to install fine, the example application doesn't compile. ethernet.c:46: error: too few arguments to function 'printipad' ethernet.c:65: error: too few arguments to function 'lwipinitialize'

I also get a bunch of warnings, that maybe don't matter now, but could be an issue once it gets to the linker stage: echoserver.c:35: warning: implicit declaration of function 'close' echoserver.c:59: warning: implicit declaration of function 'read' echo_server.c:61: warning: implicit declaration of function 'write'

I'm using an Altera bemicro board with a supported phy adapter with the required qsys naming convention, along with...

FreeRTOS v7.3.0 and Altera Nios 11.1 since the freertos port seems to have been tested against these software versions: http://www.freertos.org/InteractiveFrames/OpenFrames.html?http://interactive.freertos.org/forums/216314-altera

I probably could start hacking things up to at least compile, but I'm wondering if theres something obvious why the example project doesn't compile out of the box. Is there any project property flags that need to be set?

Nios Port (FreeRTOS 7.3.0 + Altera 11) Example Project Fails to Compile

Posted by rtel on June 2, 2014

I think the code you are referring to is a contributed port and/or demo, so unfortunately I am not able to support it. If you post your question in the forum that hosts the demo then the original contributor may see it and be able to reply.

There is an official FreeRTOS demo for the NIOS, although it is somewhat old, and there is a good probability it too would not build as I'm sure they have changed the tools several times since it was created. That said I know WITTENSTEIN (the commercial partner company who provide FreeRTOS as OpenRTOS) have been using the port on more than one occasion recently.

Regards, Richard Barry.

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

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

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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