Compiling the hardware library sample application, Running the hardware library sample application – Altera SoC Embedded Design Suite User Manual

Page 81

Advertising
background image

File Name

Description

altera-socfpga-hosted.ld

Linker script

debug-hosted.ds

Debugger script use to load the sample application

Makefile

Makefile used to compile the sample application

Compiling the Hardware Library Sample Application

1. To compile the application, select the project in Project Explorer.

2. Select Project > Build Project.

3. The project compiles and the Project Explorer shows the newly created hwlib.axf executable file as

shown in the above figure. The Console dialog box shows the commands and responses that were

executed.

Figure 4-39: Project Compiled

Running the Hardware Library Sample Application

The bare-metal sample application comes with a pre-configured Eclipse Workspace Launcher that allows

you to load, run, and debug the sample application.
The Workspace Launcher uses the Altera USB-Blaster II board connection. It uses a debugger script to

load and run the Preloader to configure the HPS component, and then loads the sample application.

4-62

Compiling the Hardware Library Sample Application

ug-1137

2014.12.15

Altera Corporation

Getting Started Guides

Send Feedback

Advertising