Nios® V Processor Software Developer Handbook

ID 743810
Date 7/08/2024
Public
Document Table of Contents

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