Nios® V Processor Software Developer Handbook

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

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