aboutsummaryrefslogtreecommitdiff
path: root/src/sam7s256.c
diff options
context:
space:
mode:
authorNicolas Schodet2023-03-06 17:36:31 +0100
committerNicolas Schodet2023-03-06 17:36:31 +0100
commitd383f2bcdb6ff13cc562fce1ff55d826035debad (patch)
treef5cd0440869b8ba823fd254b361cdefe95e153b4 /src/sam7s256.c
parent8fce63fda48a6593870ffd3c584c9dd0808bc2c2 (diff)
Simplify source tree
Now just use make in the root directory to build.
Diffstat (limited to 'src/sam7s256.c')
-rw-r--r--src/sam7s256.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/sam7s256.c b/src/sam7s256.c
new file mode 100644
index 0000000..b2657d5
--- /dev/null
+++ b/src/sam7s256.c
@@ -0,0 +1,34 @@
+//
+// Date init 14.12.2004
+//
+// Revision date $Date:: 10-12-07 14:29 $
+//
+// Filename $Workfile:: sam7s256.c $
+//
+// Version $Revision:: 3 $
+//
+// Archive $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Sam7s256/Incl $
+//
+// Platform C
+//
+#ifdef ARMDEBUG
+#include "debug_stub.h"
+#endif
+
+void main(void)
+{
+ while(TRUE)
+ {
+ HARDWAREInit;
+ mSchedInit();
+#ifdef ARMDEBUG
+ dbg__bkpt_init();
+#endif
+ while(TRUE == mSchedCtrl())
+ {
+ OSWatchdogWrite;
+ }
+ mSchedExit();
+ HARDWAREExit;
+ }
+}