Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

3.4.2. Creating an Application Project with a Script

To create application projects, use nios2-app-generate-makefile as in the following example:.

nios2-app-generate-makefile --bsp-dir ../BSP \  
--elf-name telnet-test.elf 
--src-dir source/ make
Description of nios2-app-generate-makefile Arguments
Argument Purpose
--bsp-dir ../BSP Specifies the location of the BSP on which this application is based
--elf-name telnet-test.elf Specifies the name of the executable file
--src-dir source/ Tells nios2-app-generate-makefile where to find the C source files