beautypg.com

Create a bsp, Build the project – Altera Nios II Embedded Evaluation Kit Cyclone III Edition User Manual

Page 62

background image

Altera Corporation

B–8

July 2010

Nios II Embedded Evaluation Kit, Cyclone III Edition

Create a BSP

The first thing that’s needed to build the software project is a board
support package (BSP). To create a BSP perform these steps:

1.

Open a Nios II Command Shell.

2.

Change to the directory:


examples/
application_selector/
software_examples/
bsp/

hal_application_selector

3.

Run the command ./create_this_bsp.

Build the project

The next step is to build the Application Selector project. To build the
project, perform these steps:

1.

In the Nios II Command Shell, change to the directory:

examples/

application_selector/

software_examples/

app/

application_selector

2.

Run the command make all.

1

For more information about BSPs and the Nios II Software
Build Tools, refer to the

Getting Started from the Command

Line

chapter in volume 2 of the Nios II Software Developer’s

Handbook.