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.2.1. Build Commands

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

#Generate Library files
niosv-app --lib-dir=software/lib --public-incs=software/lib 
--srcs=software/lib/util1.c,software/lib/util2.c

#Generate App files
niosv-app --bsp-dir=software/bsp --link-lib=software/lib 
--app-dir=software/app --srcs=software/app

#Build App
cmake -B software/app/build -S software/app -G ”Unix Makefiles”
make -C software/app/build