The stack checker is initialized automatically when its task create extension runs for the first time.
The application must include the stack bounds checker extension set
in its set of Initial Extensions. This set of extensions is
defined as STACK_CHECKER_EXTENSION
. If using <rtems/confdefs.h>
for Configuration Table generation, then all that is necessary is
to define the macro CONFIGURE_STACK_CHECKER_ENABLED
before including
<rtems/confdefs.h>
as shown below:
#define CONFIGURE_STACK_CHECKER_ENABLED ... #include <rtems/confdefs.h>
Copyright © 1988-2008 OAR Corporation