Skip to content

Commit 2c47c48

Browse files
dcpleungMaureenHelm
authored andcommitted
tests: portability/cmsis_rtos_v2: skip up_squared
The up_squared board suffers the same issue as qemu_x86_64 where a bigger stack is needed but CMSIS has a limit on how big the stack can be. This results in stack overflow on one of the test. Also, the thread API tests are not designed with SMP in mind. The osThreadGetCount() would return a value smaller than expected. This function only counts queued threads, where with SMP, there are more CPUs running threads and thus fewer queued ones. So exclude up_squared from the test. Fixes #27571 Signed-off-by: Daniel Leung <[email protected]>
1 parent ed76723 commit 2c47c48

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
tests:
22
portability.cmsis_rtos_v2:
3-
platform_exclude: qemu_x86_64 m2gl025_miv
3+
# qemu_x86_64 and up_squared need bigger stack
4+
# but CMSIS limits the stack size, resulting
5+
# in stack overflow.
6+
platform_exclude: qemu_x86_64 m2gl025_miv up_squared
47
tags: cmsis_rtos
58
min_ram: 32
69
min_flash: 34

0 commit comments

Comments
 (0)