summaryrefslogtreecommitdiff
path: root/fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2020-12-21 16:22:11 +0100
committerjaseg <git@jaseg.de>2020-12-21 16:22:11 +0100
commitd8b6d18d2fefee381eb6a26334a13e94126b6d8e (patch)
treeab3a005e80c7b3d5b5d727ec04a2cbeefc3d51e6 /fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c
parent26f5fefac6f15db1c8c81fb78a919d35211695c4 (diff)
downloadminikbd-d8b6d18d2fefee381eb6a26334a13e94126b6d8e.tar.gz
minikbd-d8b6d18d2fefee381eb6a26334a13e94126b6d8e.tar.bz2
minikbd-d8b6d18d2fefee381eb6a26334a13e94126b6d8e.zip
Remove obsolete template code from fw
Diffstat (limited to 'fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c')
-rw-r--r--fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c b/fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c
deleted file mode 100644
index 1f07b8b..0000000
--- a/fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include "jtest.h"
-#include "all_tests.h"
-#include "arm_math.h"
-
-
-#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
-asm(" .global __ARM_use_no_argv\n");
-#endif
-
-
-void debug_init(void)
-{
- uint32_t * SHCSR_ptr = (uint32_t *) 0xE000ED24; /* System Handler Control and State Register */
- *SHCSR_ptr |= 0x70000; /* Enable UsageFault, BusFault, and MemManage fault*/
-}
-
-int main(void)
-{
- debug_init();
-
- JTEST_INIT(); /* Initialize test framework. */
-
- JTEST_GROUP_CALL(all_tests); /* Run all tests. */
-
- JTEST_ACT_EXIT_FW(); /* Exit test framework. */
- while (1); /* Never return. */
-}