From 97a3ca193ee1f9c767cabbc7a0db4e760666ea74 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Fri, 29 Jun 2018 09:08:09 +0100 Subject: [PATCH] boot: fix libspace num macro RTX Config header file is internal and not exposed. With latest fixes to use only public header files from RTX, we need to add these 2 new macros for RTX ARMC lib configuration. --- rtos/TARGET_CORTEX/mbed_rtx_conf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rtos/TARGET_CORTEX/mbed_rtx_conf.h b/rtos/TARGET_CORTEX/mbed_rtx_conf.h index b2be0743dc..3b919fc094 100644 --- a/rtos/TARGET_CORTEX/mbed_rtx_conf.h +++ b/rtos/TARGET_CORTEX/mbed_rtx_conf.h @@ -74,6 +74,8 @@ // Don't adopt default multi-thread support for ARM/ARMC6 toolchains from RTX code base. // Provide Mbed-specific instead. #define RTX_NO_MULTITHREAD_CLIB +// LIBSPACE default value set for ARMCC +#define OS_THREAD_LIBSPACE_NUM 4 #define OS_IDLE_THREAD_NAME "idle_thread" #define OS_TIMER_THREAD_NAME "timer_thread"