Renesas R8C/17 Manual de usuario Pagina 19

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 28
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 18
QDK™
R8C/Tau-NC30
www.state-machine.com/m16c
5 Board Support Package
The Board Support Package (BSP) for R8with the non-preemptive Vanilla kernel is located in the
directory:
<qp>\examples\m16c\vanilla\nc30\dpp_tau\
and consists of the following files:
1.
bsp.h
contains the Board Support Package interface (BSP)
2.
bsp.c
contains the implementation of the BSP, which includes all ISRs and all platform-specific
QP callbacks.
NOTE: This QDK uses the recommended by Renesas C-startup for M16C/R8C. The C-startup
code is comprised of the following files (see also Listing 1):
1.
cstartdef.h
– stack and heap size definitions (customize for your application)
2.
firm.c
3.
firm_ram.c
4.
fvector.c
5.
heap.c
6.
initsct.c
7.
initsct.h
8.
intprg.c
– default interrupt handlers (customize for your application)
9.
resetprg.c
10.
resetprg.h
Out of these 10 files only the indicated 2 files need customization for a specific application.
5.1 Compiler Options Used
You set the compiler and linker options through the HEW IDE. The compiler options are as follows:
-c -g -Wall -silent
The –g option denotes that the compiler should generate the Debug information. This option is only
used in the Debug build. Both the Debug and Release builds use the generic CPU type “With no
specification”.
NOTE: You can access the compiler options by selecting the Build->Renesas M16C/R8C Stan-
dard Toolchain..., or by right-clicking on any of the C modules in the Workspace window and
choosing the Build Options/Renesas M16C/R8C Standard Toolchain... pop-up menu.
Copyright © Quantum Leaps, LLC. All Rights Reserved.
17 of 26
Vista de pagina 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 27 28

Comentarios a estos manuales

Sin comentarios