Tool/software: TI-RTOS
I am trying to register a watchdog ISR with native TI driver calls. I want it to be functioning below the RTOS. But I seem to get a clash with ISR as TI RTOS also has its own way of managing ISR. So if I happen to register the ISR for watch dog with the TI RTOS application , it basically registers a fault sometime after BIOS starts.
Please suggest a way to solve this.
#ifdef __cplusplus
extern "C" {
#endif
volatile bool g_bFeedWatchdog = true;
static void WatchdogIntHandler ()
{
//
// If we have been told to stop feeding the watchdog, return immediately
// without clearing the interrupt. This will cause the system to reset
// next time the watchdog interrupt fires.
if(!g_bFeedWatchdog)
{
return;
}
//
// Clear the watchdog interrupt.
//
WatchdogIntClear(WATCHDOG0_BASE);
}// Closed braces for C linkage in CPP projects
#ifdef __cplusplus
}
#endif
using namespace Application;
//
Rest of application in C++4
in .cmd file I added section .vtable
But it already had .intvecs defined!