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

github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c')
-rw-r--r--Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c b/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c
index 8dd4b4061..a41de7dd6 100644
--- a/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c
+++ b/Drivers/CMSIS/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
}