aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.project11
-rw-r--r--AT91SAM7S256/SAM7S256/Include/sam7s256.c5
2 files changed, 16 insertions, 0 deletions
diff --git a/.project b/.project
new file mode 100644
index 0000000..bbc963e
--- /dev/null
+++ b/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>nxt-firmware-tcwan</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
diff --git a/AT91SAM7S256/SAM7S256/Include/sam7s256.c b/AT91SAM7S256/SAM7S256/Include/sam7s256.c
index f8fe51c..2247c28 100644
--- a/AT91SAM7S256/SAM7S256/Include/sam7s256.c
+++ b/AT91SAM7S256/SAM7S256/Include/sam7s256.c
@@ -11,7 +11,9 @@
//
// Platform C
//
+#ifdef __ARMDEBUG__
#include "debug_stub.h"
+#endif
void main(void)
{
@@ -21,6 +23,9 @@ void main(void)
dbg__bkpt_init();
dbg_breakpoint_thumb();
mSchedInit();
+#ifdef __ARMDEBUG__
+ dbg__bkpt_init();
+#endif
while(TRUE == mSchedCtrl())
{
OSWatchdogWrite;