summaryrefslogtreecommitdiff
path: root/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-05-03 19:53:02 +0200
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-05-03 19:53:02 +0200
commit2628932a40d769d8d0180ba6fed1e7b9b2718982 (patch)
treeea485897653003d01cd16e2b506f69363928fafa /Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src
parent972da3c0fd449dd6153edaf3c56e0c50d16b726b (diff)
downloadminikbd-2628932a40d769d8d0180ba6fed1e7b9b2718982.tar.gz
minikbd-2628932a40d769d8d0180ba6fed1e7b9b2718982.tar.bz2
minikbd-2628932a40d769d8d0180ba6fed1e7b9b2718982.zip
minkbd: repo restructure
Diffstat (limited to 'Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src')
-rw-r--r--Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_cycle.c9
-rw-r--r--Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_dump_str_segments.c36
-rw-r--r--Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_fw.c9
-rw-r--r--Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_trigger_action.c37
4 files changed, 0 insertions, 91 deletions
diff --git a/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_cycle.c b/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_cycle.c
deleted file mode 100644
index 24d552d..0000000
--- a/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_cycle.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "../inc/jtest_cycle.h"
-#include <inttypes.h>
-
-/*--------------------------------------------------------------------------------*/
-/* Define Module Variables */
-/*--------------------------------------------------------------------------------*/
-
-/* const char * JTEST_CYCLE_STRF = "Running: %s\nCycles: %" PRIu32 "\n"; */
-const char * JTEST_CYCLE_STRF = "Cycles: %" PRIu32 "\n"; /* function name + parameter string skipped */
diff --git a/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_dump_str_segments.c b/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_dump_str_segments.c
deleted file mode 100644
index c3a9bf8..0000000
--- a/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_dump_str_segments.c
+++ /dev/null
@@ -1,36 +0,0 @@
-#include "jtest_fw.h"
-
-/**
- * Dump the JTEST_FW.str_buffer the Keil framework in pieces.
- *
- * The JTEST_FW.str_buffer contains more characters than the Keil framework can
- * dump at once. This function dumps them in blocks.
- */
-void jtest_dump_str_segments(void)
-{
- uint32_t seg_idx = 0;
- uint32_t memmove_idx = 0;
- uint32_t seg_cnt =
- (strlen(JTEST_FW.str_buffer) / JTEST_STR_MAX_OUTPUT_SIZE) + 1;
-
- for( seg_idx = 0; seg_idx < seg_cnt; ++seg_idx)
- {
- JTEST_TRIGGER_ACTION(dump_str);
-
- if (seg_idx < JTEST_STR_MAX_OUTPUT_SEGMENTS)
- {
- memmove_idx = 0;
- while (memmove_idx < (seg_cnt - seg_idx -1) )
- {
- memmove(
- JTEST_FW.str_buffer+
- (memmove_idx* JTEST_STR_MAX_OUTPUT_SIZE),
- JTEST_FW.str_buffer+
- ((memmove_idx+1)*JTEST_STR_MAX_OUTPUT_SIZE),
- JTEST_BUF_SIZE);
- ++memmove_idx;
- }
- }
- }
- return;
-}
diff --git a/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_fw.c b/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_fw.c
deleted file mode 100644
index 69d7a63..0000000
--- a/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_fw.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "../inc/jtest.h"
-
-/*--------------------------------------------------------------------------------*/
-/* Define Global Variables */
-/*--------------------------------------------------------------------------------*/
-
-char JTEST_FW_STR_BUFFER[JTEST_BUF_SIZE] = {0};
-
-volatile JTEST_FW_t JTEST_FW = {0};
diff --git a/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_trigger_action.c b/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_trigger_action.c
deleted file mode 100644
index a3901da..0000000
--- a/Blink/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_trigger_action.c
+++ /dev/null
@@ -1,37 +0,0 @@
-
-#include "jtest_fw.h"
-
-void test_start (void) {
-// ;
- JTEST_FW.test_start++;
-}
-
-void test_end (void) {
-// ;
- JTEST_FW.test_end++;
-}
-
-void group_start (void) {
-// ;
- JTEST_FW.group_start++;
-}
-
-void group_end (void) {
-// ;
- JTEST_FW.group_end++;
-}
-
-void dump_str (void) {
-// ;
- JTEST_FW.dump_str++;
-}
-
-void dump_data (void) {
-// ;
- JTEST_FW.dump_data++;
-}
-
-void exit_fw (void) {
-// ;
- JTEST_FW.exit_fw++;
-}