Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Coenen <manuel@duet3d.com>2021-01-12 18:30:28 +0300
committerManuel Coenen <manuel@duet3d.com>2021-01-19 13:22:32 +0300
commited1f834bc57412ab58f3a9abb647e13f11e4b809 (patch)
tree2207d22bc4feb20d596ebb8216ed784b539cd8bf /src/Hardware/SAME70/Main.cpp
parentbd8d82f7f23534905c1d574d70b1f5c2d453b7c1 (diff)
Start converting Duet3 build to CoreN2G (not compiling yet)
Diffstat (limited to 'src/Hardware/SAME70/Main.cpp')
-rw-r--r--src/Hardware/SAME70/Main.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/Hardware/SAME70/Main.cpp b/src/Hardware/SAME70/Main.cpp
new file mode 100644
index 00000000..5851ca16
--- /dev/null
+++ b/src/Hardware/SAME70/Main.cpp
@@ -0,0 +1,34 @@
+/*
+ * Main.cpp
+ * Program entry point
+ * Created on: 11 Jul 2020
+ * Author: David
+ * License: GNU GPL version 3
+ */
+
+#include <Core.h>
+
+// Program initialisation
+void AppInit() noexcept
+{
+}
+
+// syscalls.h must be included by exactly one .cpp file in the project
+#include <syscalls.h>
+
+[[noreturn]] void OutOfMemoryHandler() noexcept
+{
+ while (true) { }
+}
+
+extern "C" [[noreturn]] void __cxa_pure_virtual() noexcept
+{
+ while (true) { }
+}
+
+extern "C" [[noreturn]] void __cxa_deleted_virtual() noexcept
+{
+ while (true) { }
+}
+
+// End