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

Assembly language w/o syslib

Altera_Forum
Honored Contributor II
974 Views

Hello! 

 

Does anyone know how to create an assembly project without a syslib (in Eclipse, Nios II 5.0)? Since I use assembly, I have no need for a syslib. 

 

Any help on how to compile assembly programs using the command line tools would also be much appreciated. 

 

Thank you! 

Gustaf
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
252 Views

Hi Gustaf, 

 

> Any help on how to compile assembly programs using the command 

> line tools would also be much appreciated. 

 

Take a look at the u-boot sources ... you can strip out everything and 

simply use cpu/nios2/start.S and one of the Nios-II linker scripts as 

a starting point. 

 

You can obtain the sources from: 

 

http://www.sourceforge.net/projects/u-boot (http://www.sourceforge.net/projects/u-boot) (official sources) 

http://www.psyent.com/download (http://www.psyent.com/download) (Nios-only sources) 

 

Regards, 

--Scott
0 Kudos
Reply