Compile The Project - Altera Nios II Hardware Development Manual

Hide thumbs Also See for Nios II:
Table of Contents

Advertisement

1–34

Compile the Project

In this section you compile the project to produce an executable software image. For
the tutorial design example, you must first adjust the project settings to minimize the
memory footprint of the software, because your Nios II hardware system contains
only 20 KB of memory.
Perform the following steps:
1. In the Project Explorer view, right-click count_binary_bsp and click Properties.
The Properties for count_binary_bsp dialog box appears.
2. Click the Nios II BSP Properties page. The Nios II BSP Properties page contains
basic software build settings.
Figure 1–21. System Library Properties
1
3. Adjust the following settings to reduce the size of the compiled executable:
a. Turn on Reduced device drivers.
b. Turn off Support C++.
c. Turn off GPROF support.
d. Turn on Small C library.
e. Turn off ModelSim only, no hardware support.
f
Nios II Hardware Development Tutorial
Figure 1–21
Though not needed for this tutorial, note the BSP Editor button in the lower
right corner of the dialog box. You use the Nios II BSP Editor to access
advanced BSP settings.
For more information about BSPs, refer to the
Handbook.
Chapter 1: Nios II Hardware Development
Creating the Design Example
shows the GUI.
Nios II Software Developer's
May 2011 Altera Corporation

Advertisement

Table of Contents
loading

Table of Contents