diff options
author | Manuel Coenen <manuel@duet3d.com> | 2021-01-12 18:30:28 +0300 |
---|---|---|
committer | Manuel Coenen <manuel@duet3d.com> | 2021-01-19 13:22:32 +0300 |
commit | ed1f834bc57412ab58f3a9abb647e13f11e4b809 (patch) | |
tree | 2207d22bc4feb20d596ebb8216ed784b539cd8bf /src/Hardware/SAME70/Main.cpp | |
parent | bd8d82f7f23534905c1d574d70b1f5c2d453b7c1 (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.cpp | 34 |
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 |