aboutsummaryrefslogtreecommitdiff
path: root/src/core/startup_mary.cpp
diff options
context:
space:
mode:
authorAtsushi Saitoh <lynxeyed@xj9.so-net.ne.jp>2012-02-04 12:38:33 +0900
committerAtsushi Saitoh <lynxeyed@xj9.so-net.ne.jp>2012-02-04 12:38:33 +0900
commit90506dd1ab7a48a4e2fbe6cf7224d27828abf869 (patch)
tree23de598d6445aba54015c9b70f2d0fbded41c044 /src/core/startup_mary.cpp
parenteeda1597368fb49e254629e522295759d7f9c608 (diff)
new release
Diffstat (limited to 'src/core/startup_mary.cpp')
-rwxr-xr-xsrc/core/startup_mary.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/core/startup_mary.cpp b/src/core/startup_mary.cpp
new file mode 100755
index 0000000..8ce5c39
--- /dev/null
+++ b/src/core/startup_mary.cpp
@@ -0,0 +1,26 @@
+/*
+ * startup_mary.cpp
+ *
+ * Created on: 2011/08/04
+ * Author: lynxeyed
+ */
+
+#include "libmary.h"
+
+void setup(void);
+void loop(void);
+
+int main(void)
+{
+
+ setup_systick();
+ setup_TIMER32_1();
+
+ setup();
+
+ while(1)
+ {
+ loop();
+ }
+
+}