Renesas M16C/6N Manual de usuario Pagina 7

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 27
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 6
QDK™
M16C/Neutrino-NC30
www.state-machine.com/m16c
2.2 Building the QP Libraries
All QP components are deployed as libraries that you statically link to your application. The pre-All
QP components are deployed as libraries that you statically link to your application. The pre-built
libraries for QEP, QF, QS, and QK are provided inside the
<qp>\ports\m16c\
directory (see Listing
1
). This section describes steps you need to take to rebuild the libraries yourself.
NOTE: To streamline and simplify the QP-library build process, Quantum Leaps software does
not use the vendor-specific IDEs, such as the IAR Embedded Workbench IDE, for building the
QP libraries. Instead, this QDK provides command-line build process based on simple batch
scripts.
The build process for your application is largely independent on the QP-library builds. In fact,
once you have the QP libraries, you typically don’t need to rebuild them—at least not on the
daily basis as you work on your application. This QDK uses the Renesas NC30 compiler to build
the example applications, but you are free to use any other build strategy.
The code distribution contains all the batch file
make_m16c.bat
for building all the libraries located in
<qp>\
ports
\m16c\vanilla\nc30\
directory. For example, to build the debug version of all the QP li-
braries for the M16C, with the NC30 compiler, you open a console window on a Windows PC,
change directory to
<qp>\
ports
\m16c\vanilla\nc30\
, and invoke the batch by typing at the com-
mand prompt the following command:
make_m16c
The make process should produce the QP libraries in the location:
<qp>\ports\m16c\vanilla\nc30\-
d/jointfilesconvert/264634/bg\
.
The
make_m16c.bat
assumes that the NC30 toolset has been installed in the directory
C:\tools\Renesas\Hew\Tools\Renesas\nc30wa\v544r00
.
NOTE: You need to adjust the symbol RENESAS_M16C_DIR at the top of the
make_m16c.bat
file if
you’ve installed the NC30 in a different directory.
In order to take advantage of the Q-SPY instrumentation, you need to build the Spy version of the
QP libraries. You achieve this by invoking the
make_m16c.bat
utility with the “spy” target, like this:
make_m16c spy
The make process should produce the QP libraries in the directory:
<qp>\ports\m16c\vanilla\nc30\-
spy\
.
You choose the build configuration by providing a target to the
make_m16c.bat
utility. The default
target is “
d/jointfilesconvert/264634/bg
”. Other targets are “
rel
”, and “
spy
” respectively. The following table summarizes the
targets accepted by
make_m16c.bat
.
Software Version Build command
Debug (default)
make_m16c
Release
make_m16c rel
Spy
make_m16c spy
Table 1 Supported build configurations for the Debug, Release, and Spy versions
Copyright © Quantum Leaps, LLC. All Rights Reserved.
5 of 25
Vista de pagina 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 26 27

Comentarios a estos manuales

Sin comentarios