Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
745 Views

Problem when building a project from template in Eclipse

Hello everyone,  

I have a problem when trying to build a project from a template in the Nios II Eclipse IDE.  

 

I have generated and successfully programmed to the FPGA (the Deo0 Nano) a simple system consisting of a Nios II processor, a JTAG interface, an onchip memory, 4 input switches, 4 output leds and a SDRAM memory. 

 

When I create in Eclipse a new project (with the option "Nios II application and BSP from template") and select the "Hello World" template, when I try to build it I get this error: 

 

alt_sys_init.c: (.text+0x44): undefined reference to `__alt_invalid' 

collect2: ld returned 1 exit status 

 

make: *** [Lights_program_5.elf] Error 1 

Nevertheless, if I create the program from the template "Hello World Small" I don't get this error and the program works fine. 

 

Does anyone know where this error comes from? 

 

Thank you very much,  

Nacho
0 Kudos
0 Replies