diff options
author | jaseg <git@jaseg.net> | 2020-10-14 12:47:28 +0200 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2020-10-14 12:47:28 +0200 |
commit | 6ab94e0b318884bbcb95e2ea3835f951502e1d99 (patch) | |
tree | 4cc5794b89f89c55ff8370ae252518ab96b5fed3 /midi-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c | |
parent | 1e6e8a2062923b434b2f4f5f2a9f8c0098135b01 (diff) | |
download | minikbd-6ab94e0b318884bbcb95e2ea3835f951502e1d99.tar.gz minikbd-6ab94e0b318884bbcb95e2ea3835f951502e1d99.tar.bz2 minikbd-6ab94e0b318884bbcb95e2ea3835f951502e1d99.zip |
Move firmware into subdirectory
Diffstat (limited to 'midi-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c')
-rw-r--r-- | midi-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/midi-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c b/midi-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/main.c deleted file mode 100644 index 1f07b8b..0000000 --- a/midi-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. */
-}
|