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 STACK_CHECKER_ON
before including
<rtems/confdefs.h>
as shown below:
#define STACK_CHECKER_ON ... #include <rtems/confdefs.h>
Copyright © 1988-2008 OAR Corporation