Skip to content

Commit 6a35a79

Browse files
committed
tests: cmsis_dsp: Add mps3_an547 as integration platform for FPU tests
This commit adds the `mps3_an547` board, a Cortex-M55 platform, as an integration platform for all CMSIS-DSP FPU test cases so that the M-Profile Vector Extension (MVE) vector function implementations are tested in the CI. With this change the FPU-enabled test coverage is as follows: * mps2_an521_remote (Cortex-M33) tests FPU/DSP-enabled scalar function implementations. * mps3_an547 (Cortex-M55) tests FPU/DSP-enabled MVE vector function implementations. This also has a side effect of comprehensively exercising the M-Profile Vector Extension support in the ARM architecture port, thereby ensuring the arch-level FPU/DSP/MVE support is not broken. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent a38e68b commit 6a35a79

File tree

14 files changed

+37
-0
lines changed

14 files changed

+37
-0
lines changed

tests/benchmarks/cmsis_dsp/basicmath/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tests:
1212
filter: (CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1
1313
integration_platforms:
1414
- mps2_an521_remote
15+
- mps3_an547
1516
tags: benchmark cmsis_dsp fpu
1617
extra_configs:
1718
- CONFIG_FPU=y

tests/lib/cmsis_dsp/basicmath/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
1414
integration_platforms:
1515
- mps2_an521_remote
16+
- mps3_an547
1617
tags: cmsis_dsp fpu
1718
extra_configs:
1819
- CONFIG_FPU=y

tests/lib/cmsis_dsp/bayes/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
1414
integration_platforms:
1515
- mps2_an521_remote
16+
- mps3_an547
1617
tags: cmsis_dsp fpu
1718
extra_configs:
1819
- CONFIG_FPU=y

tests/lib/cmsis_dsp/complexmath/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
1414
integration_platforms:
1515
- mps2_an521_remote
16+
- mps3_an547
1617
tags: cmsis_dsp fpu
1718
extra_configs:
1819
- CONFIG_FPU=y

tests/lib/cmsis_dsp/distance/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
1414
integration_platforms:
1515
- mps2_an521_remote
16+
- mps3_an547
1617
tags: cmsis_dsp fpu
1718
extra_configs:
1819
- CONFIG_FPU=y

tests/lib/cmsis_dsp/fastmath/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
1414
integration_platforms:
1515
- mps2_an521_remote
16+
- mps3_an547
1617
tags: cmsis_dsp fpu
1718
extra_configs:
1819
- CONFIG_FPU=y

tests/lib/cmsis_dsp/filtering/testcase.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ tests:
2323
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
2424
integration_platforms:
2525
- mps2_an521_remote
26+
- mps3_an547
2627
tags: cmsis_dsp fpu
2728
min_flash: 128
2829
min_ram: 64
@@ -47,6 +48,7 @@ tests:
4748
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
4849
integration_platforms:
4950
- mps2_an521_remote
51+
- mps3_an547
5052
tags: cmsis_dsp fpu
5153
min_flash: 128
5254
min_ram: 64
@@ -71,6 +73,7 @@ tests:
7173
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
7274
integration_platforms:
7375
- mps2_an521_remote
76+
- mps3_an547
7477
tags: cmsis_dsp fpu
7578
min_flash: 128
7679
min_ram: 64
@@ -95,6 +98,7 @@ tests:
9598
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
9699
integration_platforms:
97100
- mps2_an521_remote
101+
- mps3_an547
98102
tags: cmsis_dsp fpu
99103
min_flash: 256
100104
min_ram: 64

tests/lib/cmsis_dsp/interpolation/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
1414
integration_platforms:
1515
- mps2_an521_remote
16+
- mps3_an547
1617
tags: cmsis_dsp fpu
1718
extra_configs:
1819
- CONFIG_FPU=y

tests/lib/cmsis_dsp/matrix/testcase.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ tests:
2020
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
2121
integration_platforms:
2222
- mps2_an521_remote
23+
- mps3_an547
2324
tags: cmsis_dsp fpu
2425
min_flash: 128
2526
min_ram: 64
@@ -44,6 +45,7 @@ tests:
4445
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
4546
integration_platforms:
4647
- mps2_an521_remote
48+
- mps3_an547
4749
tags: cmsis_dsp fpu
4850
min_flash: 128
4951
min_ram: 64
@@ -68,6 +70,7 @@ tests:
6870
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
6971
integration_platforms:
7072
- mps2_an521_remote
73+
- mps3_an547
7174
tags: cmsis_dsp fpu
7275
min_flash: 128
7376
min_ram: 64
@@ -91,6 +94,7 @@ tests:
9194
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1)
9295
integration_platforms:
9396
- mps2_an521_remote
97+
- mps3_an547
9498
tags: cmsis_dsp fpu
9599
min_flash: 128
96100
min_ram: 64
@@ -115,6 +119,7 @@ tests:
115119
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
116120
integration_platforms:
117121
- mps2_an521_remote
122+
- mps3_an547
118123
tags: cmsis_dsp fpu
119124
min_flash: 128
120125
min_ram: 64
@@ -139,6 +144,7 @@ tests:
139144
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
140145
integration_platforms:
141146
- mps2_an521_remote
147+
- mps3_an547
142148
tags: cmsis_dsp fpu
143149
min_flash: 128
144150
min_ram: 64
@@ -164,6 +170,7 @@ tests:
164170
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
165171
integration_platforms:
166172
- mps2_an521_remote
173+
- mps3_an547
167174
tags: cmsis_dsp fpu
168175
platform_exclude: frdm_kw41z
169176
min_flash: 128
@@ -190,6 +197,7 @@ tests:
190197
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
191198
integration_platforms:
192199
- mps2_an521_remote
200+
- mps3_an547
193201
tags: cmsis_dsp fpu
194202
platform_exclude: frdm_kw41z
195203
min_flash: 128
@@ -216,6 +224,7 @@ tests:
216224
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
217225
integration_platforms:
218226
- mps2_an521_remote
227+
- mps3_an547
219228
tags: cmsis_dsp fpu
220229
platform_exclude: frdm_kw41z
221230
min_flash: 128
@@ -240,6 +249,7 @@ tests:
240249
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1)
241250
integration_platforms:
242251
- mps2_an521_remote
252+
- mps3_an547
243253
tags: cmsis_dsp fpu
244254
min_flash: 128
245255
min_ram: 144
@@ -265,6 +275,7 @@ tests:
265275
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
266276
integration_platforms:
267277
- mps2_an521_remote
278+
- mps3_an547
268279
tags: cmsis_dsp fpu
269280
platform_exclude: frdm_kw41z
270281
min_flash: 128
@@ -291,6 +302,7 @@ tests:
291302
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
292303
integration_platforms:
293304
- mps2_an521_remote
305+
- mps3_an547
294306
tags: cmsis_dsp fpu
295307
platform_exclude: frdm_kw41z
296308
min_flash: 128

tests/lib/cmsis_dsp/quaternionmath/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX
1414
integration_platforms:
1515
- mps2_an521_remote
16+
- mps3_an547
1617
tags: cmsis_dsp fpu
1718
extra_configs:
1819
- CONFIG_FPU=y

0 commit comments

Comments
 (0)