ADC Release 3.1 Manual de usuario Pagina 14

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 31
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 13
Freescale MQX Release Notes
12 Freescale Semiconductor
All MQX configuration files are also indirectly used by other core components like RTCS, MFS, etc.
“Indirectly” means that the MQX PSP and BSP must be build first, which causes the configuration
file being copied into the output (lib) directory. The other components then include the configuration
file from the lib output directory.
Until the PSP or BSP libraries are rebuilt, the configuration change made in the user_config.h file is
not used by any other MQX component. On the other hand, after the PSP and BSP libraries are re-
compiled with a new configuration, it is important to recompile the other libraries so the compiled
code is consistent with the configuration file. See the next section for more details.
3.9 Changing the MQX Source Files
Although the Freescale MQX RTOS is distributed in the source code form, it is strongly
recommended NOT to modify any of the source files other than compile-time configuration files.
This recommendation applies to all files under “source” and “build” sub-directories in all MQX,
RTCS, MFS, USB and other core components folders.
Only in case of creating custom board support packages or adding additional I/O drivers, there are
two directories where the new files and subdirectories may need to be added:
<install_dir>/mqx/source/bsp
<install_dir>/mqx/source/io
3.10 Building the MQX Libraries
3.10.1 Build Process
After any change to the compile-time user configuration file or MQX kernel source files, the MQX
libraries need to be re-built. The build process is similar with all core components:
The output directory is <install_dir>/lib/<board>.cw/<component>
For example the MQX PSP and BSP libraries for M52259EVB board are built in the
.../lib/m52259evb.cw/mqx directory.
All public header files needed by application to make use of the library are copied from
internal include folders to the same output directory as the library itself.
During PSP or BSP build process, also the user_config.h file and other header files from the
config/<board> and config/common directories are copied into the
.../lib/<board>.cw output directory.
Other components like RTCS, MFS, etc. use the copied configuration files only.
Similarly as the PSP and BSP, the other libraries build into the output directories inside
.../lib/<board>.cw
To summarize the points above, there are simple rules to obey when re-building the MQX libraries.
After any change to the .../config/common/user_config.h file, all MQX libraries
should be re-built.
The PSP and BSP libraries must be build first, before the RTCS, MFS and other libraries.
No changes should be made to header files in the output build directory. The files get
overwritten any time the libraries are built.
Vista de pagina 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 30 31

Comentarios a estos manuales

Sin comentarios