Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

3.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.