Hi everybody ,
for safety you need to run some tests . I m NOT using TIrtos .
in code for the stack tests you can see code hereunder and you can see it is referencing ( in the comments ) to TIrtos :
could you confimr me I can use this code in my project , where there is NO TIrtos ?
case STA_SP_TEST:
{
STA_User_spObj.startAddress = (uint32_t)_symval(&_stack);
STA_User_spObj.endAddress = (uint32_t)_symval(&_STACK_END);
STA_User_spObj.watchpoint = STL_SP_WP0;
STA_User_spHandle = &STA_User_spObj;
//
// Set up watchpoint register and enable RTOS interrupt
//
uint16_t returnVal = STL_SP_configSP(STA_User_spHandle);
//
// Disable WP0, which would result in the RTOS interrupt to not be
// generated on a write to a monitored address
//
if(STA_Tests_injectError)
{
STL_SP_disableWatchpoint(STA_User_spHandle);
}
regards
Carlo