RAM 6.0 BUX II Series Guía de usuario Pagina 80

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 189
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 79
VxWorks
BSP Developer’s Guide, 6.0
72
compatibility, these drivers are available in target/src/drv/serial. However, no new
development should be done with these drivers. If serious problems are
encountered with the old serial driver, it is recommended that you convert the BSP
to use an SIO driver.
3.3 Finalizing Your BSP
This section summarizes the remaining tasks essential to completing your BSP
port. Included is a discussion of cleanup, timers, networking, and other issues.
3.3.1 Cleanup
During BSP development, a number of files may be changed, and specific
debugging routines are developed. These changes should be cleaned up before the
BSP is finalized.
After the BSP is working with a minimum set of drivers, the private copies of
usrConfig.c and bootInit.c should be removed from the BSP directory so that the
BSP uses the generic versions of these files (located in the target/config/all
directory). To reinstall the generic versions, remove the following lines from your
BSP Makefile:
BOOTINIT = bootInit.c
USRCONFIG = usrConfig.c
And then perform a make clean.
Previously, you may have masked out unwanted configuration code with
#if FALSE/#endif pairs. Now the unwanted code must be removed in a more
standard way. That is, you must undefine the appropriate macros in config.h.
Keep in mind the macro dependencies listed in the usrDepend.c file (located in
target/src/config/).
The LED routines used for debugging are typically short and are likely to be useful
for applications after BSP development is complete. For these reasons, they should
not be removed. If the routines have not been rewritten in C, you may want to
rewrite them now in order to ease the future support burden.
After the port is finished, the kprintf( ) routine should not be used. It may be
appropriate to leave the routine in the source file for future support requirements.
Vista de pagina 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 188 189

Comentarios a estos manuales

Sin comentarios