From f284646368823ffa88aa411d302f02421df2f5b2 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Fri, 14 Jun 2024 15:56:45 +0200 Subject: MHR-31: Focusing on ARM support for upcoming product. Signed-off-by: Amlal EL Mahrouss --- Drv/SampleDriver/CheckStck.c | 11 +++++++++++ Drv/SampleDriver/SampleDriver.c | 6 ------ 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 Drv/SampleDriver/CheckStck.c (limited to 'Drv/SampleDriver') 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; -} -- cgit v1.2.3