
97
MQX Package
DesignWare ARC AXC003 CPU Card User Guide
Version 6323-018
Synopsys, Inc.
May 2017
Unzip the software package and change to the directory
/software/mqx<version>
. The
directory structure of the
mqx<version>
folder is shown in Table 40.
Table 40
MQX folder Contents
Folder
Description
Root folder path:
/software/mqx<version>
/examples
This folder contains an
axs103
subdirectory with application
examples. Its subdirectory
hs38x2
contains examples for the ARC
HS38x2 dual-core configuration.
axs103/hs38x2/grtc
– demonstrates usage of the global
real-time counter unit of ARConnect;
axs103/hs38x2/i2c_selftest
–
demonstrates access to
AXS103 on-board RTC using the internal i2c bus;
axs103/leds
– demonstrates usage of AXC003 seven-
segment indicator and LEDs
axs103/selftest
– self-test application
axs103/eping
– demonstrates use of the Ethernet device
driver API
/build
This folder contains configuration files for building applications
/docs
MQX documentation
/library
MQX libraries
/mkscripts
This folder contains
make
scripts for building applications
Building MQX Applications Using gmake
1. Set MQX_ROOT and MQX_CONFIG environment variables on the command line:
set MQX_ROOT=<path_to_axs103_software>\software\mqx<version>
set MQX_CONFIG=%MQX_ROOT%\build\axs103\<variant>_config.mk
where
<variant>
is your target HS core configuration:
hs34,hs36
or
hs38x2
2. Change to the application directory under
%MQX_ROOT\examples\axs103
.
cd <path_to_application>
3.
Build the application example:
gmake all
The output directory named
arcv2hs_<variant>.met
is created and includes the
test.elf
executable file to be run in the debugger.