
81
Bare-Metal Package
DesignWare ARC AXC003 CPU Card User Guide
Version 6323-018
Synopsys, Inc.
May 2017
5. Select all projects available there for import, and click Finish.
The IDE loads and displays the example projects in your workspace.
6. Right-click one or multiple projects (excluding the
common
project).
7. Select Build Configurations > Set Active and select your build target, for example
archs36.
MetaWare IDE - Set Active Build Configurations
This step selects the archs36 configuration of the project(s) for building. You can choose
another option to match your debug target.
8. By default the project is built for
code execution from DDR
(
AXS_MEMORY_TYPE=ddr
)
console UART via USB data port
(
AXS_CONSOLE_TPYE=usb_uart
)
If you wish to set other options, edit the file
/software/baremetal/project_arcmw/axs103/common/settings.mk
and set
the variables
AXS_CONSOLE_TYPE
and
AXS_MEMORY_TYPE
according to your
requirements. Table 36 lists the available options. Changes that are made in this file
affect all projects in the workspace.
Table 36
Build Options
Variable
Value
Description
AXS_MEMORY_TYPE
ddr
Image executed from DDR3 SDRAM; default.
The code is built using the start address
0x8000_0000
.
ram
Image executed from local SRAM.
The code is built using the start address
0x2000_0000
.
ccm
Available only for ARC HS36. Image executed
from ICCM from 0x1000_0000; DATA segment
is located to DCCM starting from 0xC000_0000.