diff options
Diffstat (limited to 'Drv/SampleDriver')
| -rw-r--r-- | Drv/SampleDriver/CheckStck.c | 11 | ||||
| -rw-r--r-- | Drv/SampleDriver/SampleDriver.c | 6 |
2 files changed, 11 insertions, 6 deletions
diff --git a/Drv/SampleDriver/CheckStck.c b/Drv/SampleDriver/CheckStck.c new file mode 100644 index 00000000..3eb157ba --- /dev/null +++ b/Drv/SampleDriver/CheckStck.c @@ -0,0 +1,11 @@ +/* -------------------------------------------
+
+ Copyright Zeta Electronics Corporation
+
+------------------------------------------- */
+
+///! @brief Use this to check your stack, if using MinGW/MSVC/CodeTools.
+void ___chkstk_ms(void)
+{
+ (void)0;
+}
diff --git a/Drv/SampleDriver/SampleDriver.c b/Drv/SampleDriver/SampleDriver.c index 94d5635b..85bd8d54 100644 --- a/Drv/SampleDriver/SampleDriver.c +++ b/Drv/SampleDriver/SampleDriver.c @@ -18,9 +18,3 @@ int __ImageEnd(void) kernelPrintStr("SampleDriver: Shutting down...\r"); return 0; } - -///! @brief Use this to check your stack, if using MinGW/MSVC. -void ___chkstk_ms(void) -{ - (void)0; -} |
