<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="margin: 0px; font-family: Helvetica;" class="">Attempting to get the stack checker in RTEMS enabled our software.</div>
<div style="margin: 0px; font-family: Helvetica; min-height: 14px;" class=""><br class="">
</div>
<div style="margin: 0px; font-family: Helvetica;" class="">Before confdefs.h is included, along with all of our other CONFIGURE variables, I have put:</div>
<div style="margin: 0px; font-family: Helvetica; min-height: 14px;" class=""><br class="">
</div>
<div style="margin: 0px; font-family: Helvetica;" class="">#define CONFIGURE_STACK_CHECKER_ENABLED</div>
<div style="margin: 0px; font-family: Helvetica; min-height: 14px;" class=""><br class="">
</div>
<div style="margin: 0px; font-family: Helvetica;" class="">When I later make the call to rtems_stack_checker_report_usage_with_plugin(), I get output (one per line) for each task running (and the interrupt context), but the values printed (stack begin area,
used, etc..) are all the same for each task, and the stack size doesn't seem to match the memory area allocated for the stack. The values don't seem trustable.</div>
<div style="margin: 0px; font-family: Helvetica; min-height: 14px;" class=""><br class="">
</div>
<div style="margin: 0px; font-family: Helvetica;" class="">Is there something I'm missing to use the stack checker properly?</div>
<div style="margin: 0px; font-family: Helvetica; min-height: 14px;" class=""><br class="">
</div>
<div style="margin: 0px; font-family: Helvetica;" class="">Running RTEMS 4.10. </div>
</body>
</html>