
78
DesignWare ARC AXC003 CPU Card User Guide
Bare-Metal Package
Synopsys, Inc.
Version 6323-018
May 2017
Within the
/io
directory:
Subdirectories with the
_axs1xx
postfix contain specific drivers for IP located in the
peripheral subsystem on the ARC SDP Mainboard.
Subdirectories with the
_axc003
postfix contain specific drivers for peripherals on the
AXC003 CPU Card.
The remaining directories contain generic drivers suited for peripherals located on the
ARC SDP Mainboard or a CPU Card (or both).
Each driver directory contains a
makefile
and two subdirectories:
/inc
and
/src
. They
contain include files and driver source code respectively.
See
Building Bare-Metal Applications
on page 83 for more details about the remaining content
of this zip file.
7.4.2 Drivers for MQX
Peripheral drivers are included in the pre-built MQX library, which is contained in the file
axs103_software<version>.zip
. This zip file is available on the ARC SDP download
webpage [4]. After unzipping this file, you can find MQX-related files in the
/software/mqx<mqx_version>
directory. Some examples for using MQX peripheral
drivers are included in the zip file as well; see
on page 96. A detailed
description of the drivers is contained in the documentation provided with the MQX product.
8.5 Bare-Metal Package
Before using the bare-metal package, make sure that you have installed the MetaWare
toolchain (compiler/linker/debugger). This is a separate product, and is not part of the AXS103
Software Development Platform.
Overview
The bare-metal package is part of the zip file
axs103_software_<version>.zip
, which
is available on the ARC SDP download webpage
. The package includes bare-metal
example applications, peripheral drivers and the corresponding makefiles. Unzip the file and
change to the folder
/software/baremetal
. The directory structure of the
baremetal
folder is shown in Table 35.
Table 35
baremetal Folder Contents
Folder
Description
Root folder path:
/software/baremetal