Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12621 Discussions

Problems with compiling FreeRTOS

Altera_Forum
Honored Contributor II
1,772 Views

Hi!  

 

I'm new to NIOSII and embeded processors. I have some problems with compiling FreeRTOS.  

 

In port.c file compiler shows following warnings: 

assignment from incompatible pointer type port.c test2/Source/portable/GCC/NiosII 220 implicit declaration of function `alt_irq_disable' port.c test2/Source/portable/GCC/NiosII 223 implicit declaration of function `alt_irq_enable' port.c test2/Source/portable/GCC/NiosII 223 implicit declaration of function `alt_irq_register' port.c test2/Source/portable/GCC/NiosII 165 linker shows following errors: 

undefined reference to `alt_irq_disable' port.c test2/Source/portable/GCC/NiosII 223 undefined reference to `alt_irq_enable' port.c test2/Source/portable/GCC/NiosII 223 C/C++ Problem undefined reference to `restore_sp_from_pxCurrentTCB' port.c test2/Source/portable/GCC/NiosII 143 C/C++ Problem Any advice?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
604 Views

I found solution on FreeRTOS page. I had to install a new version of port.c file for NIOS EDS 9.1 and higher.

0 Kudos
Altera_Forum
Honored Contributor II
604 Views

hi, has anyone succeeded in compiling a project with freertos under nios ii eds 12.0 (sp1) ? 

 

I have tried to compile demo projects without success. The template disappears (it is magic :-)) form the drop down menu when creating new project. 

 

I have also tried to include FreeRTOS by the Eclipse configuration but no success (too many unresolved# include that is fastidious to .... resolve by fixing paths)  

 

Does anyone have a good way to include FreeRTOS in a Nios II EDS project ?
0 Kudos
Reply