
79
Bare-Metal Package
DesignWare ARC AXC003 CPU Card User Guide
Version 6323-018
Synopsys, Inc.
May 2017
/apps
This folder contains individual subdirectories for all application
examples. See the release notes on the ARC SDP download
webpage
for an overview of the available application examples.
/board
This folder contains board-specific header files. Also, it contains
linker files that specify the definition of the memory map, located in
the
/board/axs103/src/
folder. Two linker files are included,
ap_axs103_ddr.met
and
map_axs103_ram.met
, for building
the code for the DDR3 SDRAM or local SRAM.
/inc
This folder contains a general header file for type definitions
/io
This folder contains all basic drivers for the AXS103 Software
Development Platform. See the
Drivers for Bare-Metal Applications
on page 77 for details.
/project
This folder contains the files related to the
gmake
build flow,
including the following:
rules.mk
contains all makefile rules
options.mk
contains more compiler/linker related options
/project_arcmw
This folder contains files related to the MetaWare IDE flow.
build.bat
This batch script can be used to build the bare-metal applications
using the
gmake
build flow. See
Building Bare-Metal Applications
on page 83 for details.
Building Bare-Metal Applications Using the MetaWare IDE
The files belonging to the example projects have to be imported in the Eclipse IDE workspace.
The instructions below illustrate this process step-by-step:
1. Run MWIDE and select
/software/baremetal/project_arcmw/axs103
as the
current workspace.