Mohamed Hassan commented on a discussion on 
testsuites/libtests/stackchk/init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_109764

 >  #endif
 >  
 >  #define CONFIGURE_INIT
 > +#include "../stackchk03/system.h"

Yeah I'm using almost all files of 
[stackchk](https://gitlab.rtems.org/Hamzi/rtems/-/tree/feature/stack-reporter-config/testsuites/libtests/stackchk?ref_type=heads)
 including `init.c`. And I had to include `/stackchk03/system.h` first - before 
including the confdefs - because it configures:
```
#define CONFIGURE_STACK_CHECKER_ENABLED
#define CONFIGURE_STACK_CHECKER_REPORTER  stackchk03_blown_stack_reporter
```
otherwise it will go to the default detailed reporter every time.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_109764
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to