Skip to content

Commit

Permalink
Change OS_THREAD_LIBSPACE_NUM to be defined as a (compiler) macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Ari Parkkila authored and RobertRostohar committed Oct 18, 2019
1 parent 95ad2aa commit 051d738
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions ARM.CMSIS.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -3231,7 +3231,7 @@ and 8-bit Java bytecodes in Jazelle state.
<file category="header" name="CMSIS/RTOS2/RTX/Include/rtx_os.h"/>

<!-- RTX configuration -->
<file category="header" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.h" version="5.5.0"/>
<file category="header" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.h" version="5.5.1"/>
<file category="source" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.c" version="5.1.0"/>

<!-- RTX templates -->
Expand Down Expand Up @@ -3316,7 +3316,7 @@ and 8-bit Java bytecodes in Jazelle state.
<file category="header" name="CMSIS/RTOS2/RTX/Include/rtx_os.h"/>

<!-- RTX configuration -->
<file category="header" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.h" version="5.5.0"/>
<file category="header" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.h" version="5.5.1"/>
<file category="source" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.c" version="5.1.0"/>

<!-- RTX templates -->
Expand Down Expand Up @@ -3380,7 +3380,7 @@ and 8-bit Java bytecodes in Jazelle state.
<file category="header" name="CMSIS/RTOS2/RTX/Include/rtx_os.h"/>

<!-- RTX configuration -->
<file category="header" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.h" version="5.5.0"/>
<file category="header" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.h" version="5.5.1"/>
<file category="source" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.c" version="5.1.0"/>

<!-- RTX templates -->
Expand Down Expand Up @@ -3478,7 +3478,7 @@ and 8-bit Java bytecodes in Jazelle state.
<file category="header" name="CMSIS/RTOS2/RTX/Include/rtx_os.h"/>

<!-- RTX configuration -->
<file category="header" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.h" version="5.5.0"/>
<file category="header" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.h" version="5.5.1"/>
<file category="source" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.c" version="5.1.0"/>

<file category="source" attr="config" name="CMSIS/RTOS2/RTX/Config/handlers.c" version="5.1.0"/>
Expand Down Expand Up @@ -3536,7 +3536,7 @@ and 8-bit Java bytecodes in Jazelle state.
<file category="header" name="CMSIS/RTOS2/RTX/Include/rtx_os.h"/>

<!-- RTX configuration -->
<file category="header" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.h" version="5.5.0"/>
<file category="header" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.h" version="5.5.1"/>
<file category="source" attr="config" name="CMSIS/RTOS2/RTX/Config/RTX_Config.c" version="5.1.0"/>

<!-- RTX templates -->
Expand Down
4 changes: 3 additions & 1 deletion CMSIS/RTOS2/RTX/Config/RTX_Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* -----------------------------------------------------------------------------
*
* $Revision: V5.5.0
* $Revision: V5.5.1
*
* Project: CMSIS-RTOS RTX
* Title: RTX Configuration definitions
Expand Down Expand Up @@ -568,7 +568,9 @@
// Number of Threads which use standard C/C++ library libspace
// (when thread specific memory allocation is not used).
#if (OS_THREAD_OBJ_MEM == 0)
#ifndef OS_THREAD_LIBSPACE_NUM
#define OS_THREAD_LIBSPACE_NUM 4
#endif
#else
#define OS_THREAD_LIBSPACE_NUM OS_THREAD_NUM
#endif
Expand Down

0 comments on commit 051d738

Please sign in to comment.