Skip to content

Commit a91f1e5

Browse files
Wayne RenMaureenHelm
authored andcommitted
tests: modify the test conditions for emsk_em7d_v22
Because the address and size alignment of MPUv2, limite the thread numbers for emsk_em7d_v22. If not, build will faill because of DCCM overflow Signed-off-by: Wayne Ren <[email protected]>
1 parent d5bc9d7 commit a91f1e5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/kernel/sched/schedule_api/src/test_priority_scheduling.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
#define STACK_SIZE (384 + CONFIG_TEST_EXTRA_STACKSIZE)
1010
/* nrf 51 has lower ram, so creating less number of threads */
11-
#if defined(CONFIG_SOC_SERIES_NRF51X) || defined(CONFIG_SOC_SERIES_STM32F3X)
11+
#if defined(CONFIG_SOC_SERIES_NRF51X) || defined(CONFIG_SOC_SERIES_STM32F3X) \
12+
|| defined(CONFIG_SOC_EMSK_EM7D)
1213
#define NUM_THREAD 3
1314
#else
1415
#define NUM_THREAD 10

tests/kernel/sched/schedule_api/src/test_slice_scheduling.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
#define STACK_SIZE (384 + CONFIG_TEST_EXTRA_STACKSIZE)
1010
/* nrf 51 has lower ram, so creating less number of threads */
11-
#if defined(CONFIG_SOC_SERIES_NRF51X) || defined(CONFIG_SOC_SERIES_STM32F3X)
11+
#if defined(CONFIG_SOC_SERIES_NRF51X) || defined(CONFIG_SOC_SERIES_STM32F3X) \
12+
|| defined(CONFIG_SOC_EMSK_EM7D)
1213
#define NUM_THREAD 3
1314
#else
1415
#define NUM_THREAD 10

0 commit comments

Comments
 (0)