Skip to content

Commit 5d33e02

Browse files
author
Yuval Peress
committed
dsp: move cmsis_dsp basicmath tests
Move the tests to tests/subsys/dsp/ as they'll be a part of the Zephyr dsp subsystem. Signed-off-by: Yuval Peress <[email protected]>
1 parent afcf28e commit 5d33e02

File tree

14 files changed

+8
-5
lines changed

14 files changed

+8
-5
lines changed

MAINTAINERS.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ CMSIS-DSP integration:
334334
- modules/Kconfig.cmsis_dsp
335335
- tests/benchmarks/cmsis_dsp/
336336
- tests/lib/cmsis_dsp/
337+
- tests/subsys/dsp/
337338
labels:
338339
- "area: CMSIS-DSP"
339340

tests/lib/cmsis_dsp/basicmath/CMakeLists.txt renamed to tests/subsys/dsp/basicmath/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ target_sources(app PRIVATE
1212
)
1313

1414
target_sources_ifdef(CONFIG_CMSIS_DSP_FLOAT16 app PRIVATE src/f16.c)
15+
16+
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/tests/lib/cmsis_dsp)
File renamed without changes.

tests/lib/cmsis_dsp/basicmath/src/f16.c renamed to tests/subsys/dsp/basicmath/src/f16.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <zephyr/kernel.h>
1010
#include <stdlib.h>
1111
#include <arm_math_f16.h>
12-
#include "../../common/test_common.h"
12+
#include "common/test_common.h"
1313

1414
#include "f16.pat"
1515

File renamed without changes.

tests/lib/cmsis_dsp/basicmath/src/f32.c renamed to tests/subsys/dsp/basicmath/src/f32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <zephyr/kernel.h>
1010
#include <stdlib.h>
1111
#include <arm_math.h>
12-
#include "../../common/test_common.h"
12+
#include "common/test_common.h"
1313

1414
#include "f32.pat"
1515

File renamed without changes.

tests/lib/cmsis_dsp/basicmath/src/q15.c renamed to tests/subsys/dsp/basicmath/src/q15.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <zephyr/kernel.h>
1010
#include <stdlib.h>
1111
#include <arm_math.h>
12-
#include "../../common/test_common.h"
12+
#include "common/test_common.h"
1313

1414
#include "q15.pat"
1515

File renamed without changes.

tests/lib/cmsis_dsp/basicmath/src/q31.c renamed to tests/subsys/dsp/basicmath/src/q31.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <zephyr/kernel.h>
1010
#include <stdlib.h>
1111
#include <arm_math.h>
12-
#include "../../common/test_common.h"
12+
#include "common/test_common.h"
1313

1414
#include "q31.pat"
1515

0 commit comments

Comments
 (0)