Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

4.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