Skip to content

Commit 3fdc68e

Browse files
cuiziweizwGUIDINGLI
authored andcommitted
stm32f4discovery/testlibcxx: Enable tls to fix build error.
CXX: libcxx/src/filesystem/directory_iterator.cpp 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 <[email protected]>
1 parent aef584a commit 3fdc68e

File tree

1 file changed

+2
-1
lines changed
  • boards/arm/stm32/stm32f4discovery/configs/testlibcxx

1 file changed

+2
-1
lines changed

boards/arm/stm32/stm32f4discovery/configs/testlibcxx/defconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ CONFIG_STM32_JTAG_SW_ENABLE=y
4242
CONFIG_STM32_USART2=y
4343
CONFIG_SYMTAB_ORDEREDBYNAME=y
4444
CONFIG_SYSTEM_NSH=y
45-
CONFIG_TLS_NELEM=4
45+
CONFIG_TLS_NELEM=16
46+
CONFIG_TLS_TASK_NELEM=8
4647
CONFIG_USART2_RXBUFSIZE=128
4748
CONFIG_USART2_SERIAL_CONSOLE=y
4849
CONFIG_USART2_TXBUFSIZE=128

0 commit comments

Comments
 (0)