From eb4d1a14b3ab2f2be880da532b03e1ee4ef357e1 Mon Sep 17 00:00:00 2001 From: cuiziwei Date: Tue, 24 Sep 2024 12:15:15 +0800 Subject: [PATCH] nuttx/libcxxtest: Fix build error. libcxx/src/thread.cpp:123:2: error: #error "Thread.cpp needs to enable config of CONFIG_TLS_TASK_NELEM," " and CONFIG_TLS_TASK_NELEM > 0, please enable it" 123 | #error "Thread.cpp needs to enable config of CONFIG_TLS_TASK_NELEM," \ | ^~~~~ Signed-off-by: cuiziwei --- boards/sim/sim/sim/configs/libcxxtest/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/sim/sim/sim/configs/libcxxtest/defconfig b/boards/sim/sim/sim/configs/libcxxtest/defconfig index ff2156cd03..3929289c0a 100644 --- a/boards/sim/sim/sim/configs/libcxxtest/defconfig +++ b/boards/sim/sim/sim/configs/libcxxtest/defconfig @@ -91,3 +91,4 @@ CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_PING=y CONFIG_TESTING_CXXTEST=y CONFIG_TLS_NELEM=4 +CONFIG_TLS_TASK_NELEM=8