Nios II Classic Software Developer’s Handbook

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

4.5.2. Generated and Copied Files

To understand how to build and modify Nios II C/C++ projects, it is important to understand the difference between copied and generated files.

A copied file is installed with the Nios II EDS, and copied to your BSP directory when you create your BSP. It does not replace the BSP file unless it differs from the distribution file.

A generated file is dynamically created by the nios2-bsp-generate-files utility. Generated files reside in the top-level BSP directory. BSP files are normally written every time nios2-bsp-generate-files runs.

You can disable generation of any BSP file in the BSP Editor, or on the command line with the set_ignore_file Tcl command. Otherwise, if you modify a BSP file, it is destroyed when you regenerate the BSP.