summaryrefslogtreecommitdiff
path: root/DSP/DSP_Lib_TestSuite/Common/src/main.c
diff options
context:
space:
mode:
authorrihab kouki <rihab.kouki@st.com>2020-07-28 11:24:49 +0100
committerrihab kouki <rihab.kouki@st.com>2020-07-28 11:24:49 +0100
commit96d6da4e252b06dcfdc041e7df23e86161c33007 (patch)
treea262f59bb1db7ec7819acae435f5049cbe5e2354 /DSP/DSP_Lib_TestSuite/Common/src/main.c
parent9f95ff5b6ba01db09552b84a0ab79607060a2666 (diff)
downloadst-cmsis-core-lowfat-master.tar.gz
st-cmsis-core-lowfat-master.tar.bz2
st-cmsis-core-lowfat-master.zip
Official ARM version: v5.6.0HEADmaster
Diffstat (limited to 'DSP/DSP_Lib_TestSuite/Common/src/main.c')
-rw-r--r--DSP/DSP_Lib_TestSuite/Common/src/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/DSP/DSP_Lib_TestSuite/Common/src/main.c b/DSP/DSP_Lib_TestSuite/Common/src/main.c
index 8dd4b40..a41de7d 100644
--- a/DSP/DSP_Lib_TestSuite/Common/src/main.c
+++ b/DSP/DSP_Lib_TestSuite/Common/src/main.c
@@ -3,8 +3,8 @@
#include "arm_math.h"
-#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
-asm(" .global __ARM_use_no_argv\n");
+#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) && !defined (__MICROLIB)
+__asm(" .global __ARM_use_no_argv\n");
#endif
@@ -16,12 +16,16 @@ void debug_init(void)
int main(void)
{
+#if !defined(FILEIO)
debug_init();
+#endif
JTEST_INIT(); /* Initialize test framework. */
JTEST_GROUP_CALL(all_tests); /* Run all tests. */
JTEST_ACT_EXIT_FW(); /* Exit test framework. */
+#if !defined(FILEIO)
while (1); /* Never return. */
+#endif
}