summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Nelson <sam.nelson@ti.com>2017-01-05 17:18:51 -0500
committerAngela Stegmaier <angelabaker@ti.com>2017-01-11 10:05:00 -0600
commit55d78d9bf7b26bb6562288f063aba1b073d9ad46 (patch)
treed3d8581b3d85b5d84c7265ed5958bc7c0c7d4840
parent8ea70c400a70535b968537df4dbf0c23c5057d73 (diff)
downloadipc-55d78d9bf7b26bb6562288f063aba1b073d9ad46.tar.gz
watchdog: enable __FAR__ for static variable
This allows freedom in memory placement of data memory sections. Signed-off-by: Sam Nelson <sam.nelson@ti.com>
-rw-r--r--packages/ti/deh/Watchdog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/ti/deh/Watchdog.c b/packages/ti/deh/Watchdog.c
index 10bfedb..7407513 100644
--- a/packages/ti/deh/Watchdog.c
+++ b/packages/ti/deh/Watchdog.c
@@ -35,7 +35,7 @@
* ======== Watchdog.c ========
*
*/
-
+#include <xdc/std.h>
#include <xdc/runtime/Assert.h>
#include <xdc/runtime/System.h>
#include <xdc/runtime/Error.h>
@@ -162,7 +162,7 @@ Void Watchdog_init( Void (*timerFxn)(Void) )
Types_FreqHz tFreq;
volatile Watchdog_TimerRegs *timer;
Int i;
- static Bool first = TRUE;
+ static __FAR__ Bool first = TRUE;
tHandle = Timer_Object_get(NULL, 0);
Timer_getFreq(tHandle, &tFreq); /* get timer frequency */