Nios® V Embedded Processor Design Handbook

ID 726952
Date 4/04/2022
Public

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

Document Table of Contents

6.5.2.4. Building the Application Project

You can choose to build the application project using Eclipse Embedded CDT, or through the command line interface (CLI).

You may configure the source files such as enabling DHCP or setting MAC and IP addresses, refer to Optional Configuration for more details.

If CLI is preferred, you can build the user application using the following steps:

  1. Setup the PATH variables, refer to Setting Up Open-Source Tools.
  2. Execute the command below to build the user application.
    cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release \
     -B software/app/build -S software/app
    make -j4 -C software/app/build
  3. The user application (.elf) file is created in software/app/build folder.