Skip to content

Commit 97a3ca1

Browse files
committed
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.
1 parent 4d8baa7 commit 97a3ca1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rtos/TARGET_CORTEX/mbed_rtx_conf.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
// Don't adopt default multi-thread support for ARM/ARMC6 toolchains from RTX code base.
7575
// Provide Mbed-specific instead.
7676
#define RTX_NO_MULTITHREAD_CLIB
77+
// LIBSPACE default value set for ARMCC
78+
#define OS_THREAD_LIBSPACE_NUM 4
7779

7880
#define OS_IDLE_THREAD_NAME "idle_thread"
7981
#define OS_TIMER_THREAD_NAME "timer_thread"

0 commit comments

Comments
 (0)