Skip to content

Commit 8071409

Browse files
committed
Move RTX_NO_MULTITHREAD_CLIB from RTX_Config.h to mbed_rtx_conf.h
This is to avoid change to RTX code base.
1 parent f055c2a commit 8071409

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

rtos/TARGET_CORTEX/mbed_rtx_conf.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,8 @@
7070
#define OS_IDLE_THREAD_TZ_MOD_ID 1
7171
#define OS_TIMER_THREAD_TZ_MOD_ID 1
7272

73+
// Don't adopt default multi-thread support for ARM/ARMC6 toolchains from RTX code base.
74+
// Provide Mbed-specific instead.
75+
#define RTX_NO_MULTITHREAD_CLIB
76+
7377
#endif /* MBED_RTX_CONF_H */

rtos/TARGET_CORTEX/rtx5/RTX/Config/RTX_Config.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -404,11 +404,6 @@
404404
#define OS_THREAD_LIBSPACE_NUM OS_THREAD_NUM
405405
#endif
406406

407-
408-
// Don't adopt default multi-thread support for ARM/ARMC6 toolchains from RTX code base.
409-
// Provide Mbed-specific instead.
410-
#define RTX_NO_MULTITHREAD_CLIB
411-
412407
//------------- <<< end of configuration section >>> ---------------------------
413408

414409
#endif // RTX_CONFIG_H_

0 commit comments

Comments
 (0)