I’m almost done integrating LwIP v1.4.0 in FreeRTOS v7.1.0 in the Nios II IDE. I would like to share the demo app and port update. Would it be possible that this source is included in the repository so it will be released with feature releases?
Updated in the Nios II port:
Fixed bug report:
- Nios II port bug when using -O3 or -Os - ID: 3037968
- It’s now possible to keep interrupts enabled while the scheduler has not been started yet. (So now it’s possible to print output via USART before the OS is started for example…)
- The FreeRTOS tick handler is called via the timer hook provided by the Nios II HAL library.
Further more I made an install script which installs the FreeRTOS and LwIP packages into the Altera Nios II IDE (tested for version 11.0 and up, although v9.0 and v10.0 are probably also supported) So FreeRTOS can be chosen as Board Support Package (BSP) and LwIP can be chosen as software package when an FreeRTOS BSP is chosen.
There will also be installed a FreeRTOS + LwIP demo package. This demo consists of a default FreeRTOS demo and the LwIP stack running a TCP echo server and an HTTP server which displays the currently running FreeRTOS tasks.