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++
12615 Discussions

Problem when building a project from template in Eclipse

Altera_Forum
Honored Contributor II
1,010 Views

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
Reply