RTEMS Logo

RTEMS 4.6.99.3 On-Line Library


Initialization Code The RTEMS configuration table

PREV UP next Bookshelf BSP and Device Driver Development Guide

7.9: The RTEMS configuration table

The RTEMS configuration table contains the maximum number of objects RTEMS can handle during the application (e.g. maximum number of tasks, semaphores, etc.). It's used to allocate the size for the RTEMS inner data structures.

The RTEMS configuration table is application dependent, which means that one has to provide one per application. It is usually defined by defining macros and including the header file <confdefs.h>. In simple applications such as the tests provided with RTEMS, it is commonly found in the main module of the application. For more complex applications, it may be in a file by itself.

The header file <confdefs.h> defines a constant table named Configuration. It is common practice for the BSP to copy this table into a modifiable copy named BSP_Configuration. This copy of the table is modified to define the base address of the RTEMS Executive Workspace as well as to reflect any BSP and device driver requirements not automatically handled by the application.

For more information on the RTEMS Configuration Table, refer to the RTEMS Application C User's Guide.


PREV UP next Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2004 OAR Corporation