Skip to content

Commit eeebde9

Browse files
committed
Fix CI checks
Signed-off-by: Gaurav Aggarwal <[email protected]>
1 parent 5cb309b commit eeebde9

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

.github/lexicon.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3090,6 +3090,7 @@ xtimerstartfromisr
30903090
xtimerstop
30913091
xtimerstopfromisr
30923092
xtimertaskhandle
3093+
xtlsblock
30933094
xtos
30943095
xtriggerlevel
30953096
xtriggerlevelbytes

include/FreeRTOS.h

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -71,38 +71,39 @@
7171

7272
/* Required if struct _reent is used. */
7373
#if ( configUSE_NEWLIB_REENTRANT == 1 )
74-
/* Note Newlib support has been included by popular demand, but is not
75-
* used by the FreeRTOS maintainers themselves. FreeRTOS is not
76-
* responsible for resulting newlib operation. User must be familiar with
77-
* newlib and must provide system-wide implementations of the necessary
78-
* stubs. Be warned that (at the time of writing) the current newlib design
79-
* implements a system-wide malloc() that must be provided with locks.
80-
*
81-
* See the third party link http://www.nadler.com/embedded/newlibAndFreeRTOS.html
82-
* for additional information. */
74+
75+
/* Note Newlib support has been included by popular demand, but is not
76+
* used by the FreeRTOS maintainers themselves. FreeRTOS is not
77+
* responsible for resulting newlib operation. User must be familiar with
78+
* newlib and must provide system-wide implementations of the necessary
79+
* stubs. Be warned that (at the time of writing) the current newlib design
80+
* implements a system-wide malloc() that must be provided with locks.
81+
*
82+
* See the third party link http://www.nadler.com/embedded/newlibAndFreeRTOS.html
83+
* for additional information. */
8384
#include <reent.h>
8485

85-
#define configUSE_C_RUNTIME_TLS_SUPPORT 1
86+
#define configUSE_C_RUNTIME_TLS_SUPPORT 1
8687

8788
#ifndef configTLS_BLOCK_TYPE
88-
#define configTLS_BLOCK_TYPE struct _reent
89+
#define configTLS_BLOCK_TYPE struct _reent
8990
#endif
9091

9192
#ifndef configINIT_TLS_BLOCK
92-
#define configINIT_TLS_BLOCK( xTLSBlock ) _REENT_INIT_PTR( &( xTLSBlock ) )
93+
#define configINIT_TLS_BLOCK( xTLSBlock ) _REENT_INIT_PTR( &( xTLSBlock ) )
9394
#endif
9495

9596
#ifndef configSET_TLS_BLOCK
9697
#define configSET_TLS_BLOCK( xTLSBlock ) _impure_ptr = &( xTLSBlock )
9798
#endif
9899

99100
#ifndef configDEINIT_TLS_BLOCK
100-
#define configDEINIT_TLS_BLOCK( xTLSBlock ) _reclaim_reent( &( xTLSBlock ) )
101+
#define configDEINIT_TLS_BLOCK( xTLSBlock ) _reclaim_reent( &( xTLSBlock ) )
101102
#endif
102-
#endif
103+
#endif /* if ( configUSE_NEWLIB_REENTRANT == 1 ) */
103104

104105
#ifndef configUSE_C_RUNTIME_TLS_SUPPORT
105-
#define configUSE_C_RUNTIME_TLS_SUPPORT 0
106+
#define configUSE_C_RUNTIME_TLS_SUPPORT 0
106107
#endif
107108

108109
#if ( ( configUSE_NEWLIB_REENTRANT == 0 ) && ( configUSE_C_RUNTIME_TLS_SUPPORT == 1 ) )
@@ -122,7 +123,7 @@
122123
#ifndef configDEINIT_TLS_BLOCK
123124
#error Missing definition: configDEINIT_TLS_BLOCK must be defined in FreeRTOSConfig.h when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
124125
#endif
125-
#endif
126+
#endif /* if ( ( configUSE_NEWLIB_REENTRANT == 0 ) && ( configUSE_C_RUNTIME_TLS_SUPPORT == 1 ) ) */
126127

127128
/*
128129
* Check all the required application specific macros have been defined.

0 commit comments

Comments
 (0)