Demo/RISC-V_RV32_QEMU_VIRT_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 56cdd1ad12
commit 9add6bdf98

View file

@ -121,4 +121,8 @@ machine on which the test is developed). */
#define bktPRIMARY_PRIORITY ( configMAX_PRIORITIES - 4 )
#define bktSECONDARY_PRIORITY ( configMAX_PRIORITIES - 5 )
#ifdef PICOLIBC_TLS
#define configUSE_PICOLIBC_TLS 1
#endif
#endif /* FREERTOS_CONFIG_H */