Nios® V Embedded Processor Design Handbook

ID 726952
Date 5/26/2023
Public

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

Visible to Intel only — GUID: aau1630457008201

Ixiasoft

Document Table of Contents

1.4.3.2. Generating the Application Project File

You can find the application source files at the following locations:
  • Intel HAL application source file hello.c in the sw/app folder
  • The Micrium MicroC/OS-II application source file hello_ucosii.c in the sw/app_ucosii folder
Follow these steps to generate the application project file:
  1. Make a new directory as <Project directory>/sw/app_custom.
  2. Copy the relevant application source file.
  3. Launch the Nios® V Command Shell.
  4. Execute the command below to generate an application CMakeLists.txt.
    niosv-app --bsp-dir=sw/bsp_custom --app-dir=sw/app_custom \
    --srcs=sw/app_custom/hello.c --elf-name=hello.elf