Nios® V Embedded Processor Design Handbook

ID 726952
Date 9/01/2023
Public

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

Document Table of Contents

7.3.2.3.4. Creating Multiple Application Projects

  1. Download the example source code using the link below.
  2. Navigate to the software/app folder and copy the example source codes.
  3. Change the default name of Mailbox Client Intel FPGA IP (MAILBOX_NAME) based on the system.h file, in the following locations:
    1. The example source codes
    2. bsp/drivers/src/altera_s10_mailbox_client_flash_rsu.c
    3. bsp/drivers/src/altera_s10_mailbox_client_rsu.c
  4. Launch the Nios V Command Shell.
  5. Execute the command below to generate the user application CMakeLists.txt.
    //For Application Image
    niosv-app --app-dir=software/app --bsp-dir=software/bsp \
    --srcs=software/app/application.c,zlib/crc32.c \
    --incs=zlib
    
    //For Factory Image
    niosv-app --app-dir=software/app --bsp-dir=software/bsp \
    --srcs=software/app/factory.c,zlib/crc32.c \
    --incs=zlib