Nios® V Embedded Processor Design Handbook

ID 726952
Date 10/31/2022
Public

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

Document Table of Contents

1.4.3.2. Generating the Application Project File

You can find the Intel HAL application source file hello.c in the software/app folder with the generated design example.

If you selected Micrium MicroC/OS-II(ucosii) during BSP generation, please replace the application source file hello.c with hello_ucosii.c in the <Intel Quartus Prime installation directory>/niosv/examples/software/hello_ucosii folder.

  1. Launch the Nios® V Command Shell.
  2. Execute the command below to generate an application CMakeLists.txt.
    niosv-app --bsp-dir=software/bsp --app-dir=software/app \
    --srcs=software/app/hello.c --elf-name=hello.elf