Demo/CORTEX_M3_MPS2_QEMU_GCC: Enable picolibc TLS when needed

When building with Picolibc that has TLS support, enable the relevant
FreeRTOS code.

Signed-off-by: Keith Packard <keithpac@amazon.com>
This commit is contained in:
Keith Packard 2023-03-02 11:43:04 -08:00 committed by Paul Bartell
parent 0a1db4b00c
commit 0ecd0f5188

View file

@ -44,6 +44,10 @@ extern void vAssertCalled( void );
#define configASSERT( x ) if( ( x ) == 0 ) vAssertCalled()
#define configQUEUE_REGISTRY_SIZE 20
#ifdef PICOLIBC_TLS
#define configUSE_PICOLIBC_TLS 1
#endif
#define configUSE_PREEMPTION 1
#define configUSE_TIME_SLICING 0
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0