Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

4.2.2.2. create-this-app

Each application subdirectory contains a create-this-app script. The create-this-app script copies the C/C++ application source code to the current directory, runs nios2-app-generate-makefile to create a makefile (named Makefile), and then runs make to build the Executable and Linking Format File (.elf) for your application. Each create-this-app script uses a particular example BSP. For further information, refer to the script to determine the associated example BSP. If the BSP does not exist when create-this-app runs, create-this-app calls the associated create-this-bsp script to create the BSP.

The create-this-app script takes no command-line arguments. Your current directory must be the same directory as the create-this-app script. The exit value is zero on success and one on error.