Nios® V Processor Software Developer Handbook

ID 743810
Date 7/20/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.2.3.1. Build Commands

#Generate BSP files
niosv-bsp --create --quartus-project=top.qpf --qsys=sys.qsys --type=hal software/bsp/settings.bsp

#Generate App1 and App2 files
niosv-app --bsp-dir=software/bsp --app-dir=software/app1 --srcs=software/app1
niosv-app --bsp-dir=software/bsp --app-dir=software/app2 --srcs=software/app2

#Build App1 and App2
cmake -B software/app1/build -S software/app1 -G ”Unix Makefiles” 
cmake -B software/app2/build -S software/app2 -G ”Unix Makefiles” 

make -C software/app1/build 
make -C software/app2/build 
Note: You can also build multiple application and single BSP using Ashling* RiscFree* IDE for Intel FPGAs after generating multiple application files using Nios® V Command Shell.