From 3cdead707dddcdab2327bff3f9b406de830ab312 Mon Sep 17 00:00:00 2001 From: Carlo Caione Date: Mon, 20 Jan 2020 16:26:53 +0100 Subject: [PATCH] arch: arm64: Fix cmsis_rtos tests The cmsis_rtos tests are failing because the stack size used by CMSIS is too small. Customize the stack size for the aarch64 architecture and re-enable the tests. Signed-off-by: Carlo Caione --- arch/arm/core/aarch64/Kconfig | 9 +++++++++ boards/arm/qemu_cortex_a53/qemu_cortex_a53.yaml | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/core/aarch64/Kconfig b/arch/arm/core/aarch64/Kconfig index 0b94a549715..cd3e204699e 100644 --- a/arch/arm/core/aarch64/Kconfig +++ b/arch/arm/core/aarch64/Kconfig @@ -52,6 +52,15 @@ config SYSTEM_WORKQUEUE_STACK_SIZE config OFFLOAD_WORKQUEUE_STACK_SIZE default 4096 +config CMSIS_THREAD_MAX_STACK_SIZE + default 4096 + +config CMSIS_V2_THREAD_MAX_STACK_SIZE + default 4096 + +config CMSIS_V2_THREAD_DYNAMIC_STACK_SIZE + default 4096 + if CPU_CORTEX_A config ARMV8_A diff --git a/boards/arm/qemu_cortex_a53/qemu_cortex_a53.yaml b/boards/arm/qemu_cortex_a53/qemu_cortex_a53.yaml index b48646ae7f6..bf2356c90aa 100644 --- a/boards/arm/qemu_cortex_a53/qemu_cortex_a53.yaml +++ b/boards/arm/qemu_cortex_a53/qemu_cortex_a53.yaml @@ -9,7 +9,6 @@ toolchain: ram: 128 testing: ignore_tags: - - cmsis_rtos - console - drivers - interrupt