NetBurner 3.5.8
PDF Version
examples/OverloadDirectory/overload/nbrtos/include/predef-overload.h
1// Enable NetBurner RTOS stack-integrity checking for this project only.
2//
3// NBRTOS_STACKCHECK is commented out in the SDK's nbrtos/include/predef.h. Defining it here, in the
4// project's overload copy, turns it on without modifying the shared SDK header. With it enabled the
5// RTOS tracks every task's stack and the OSDumpTCBStacks()/OSDumpTasks() diagnostic functions become
6// available (see src/main.cpp).
7#define NBRTOS_STACKCHECK (1)