This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 4540dd4718ecec66896b21caedb453ed2f265f9d
Author: chao an <anc...@xiaomi.com>
AuthorDate: Tue Nov 28 22:17:52 2023 +0800

    stm32/clang: enable LIBM avoid build break on clang-17
    
    Signed-off-by: chao an <anc...@xiaomi.com>
---
 boards/arm/stm32/omnibusf4/configs/nsh/defconfig                 | 1 +
 boards/arm/stm32/viewtool-stm32f107/configs/tcpblaster/defconfig | 1 +
 boards/arm/stm32h7/linum-stm32h753bi/configs/nsh/defconfig       | 1 +
 boards/arm/stm32h7/nucleo-h743zi/configs/elf/defconfig           | 1 +
 4 files changed, 4 insertions(+)

diff --git a/boards/arm/stm32/omnibusf4/configs/nsh/defconfig 
b/boards/arm/stm32/omnibusf4/configs/nsh/defconfig
index 434a965107..1cc7730685 100644
--- a/boards/arm/stm32/omnibusf4/configs/nsh/defconfig
+++ b/boards/arm/stm32/omnibusf4/configs/nsh/defconfig
@@ -47,6 +47,7 @@ CONFIG_INTELHEX_BINARY=y
 CONFIG_IOB_NBUFFERS=24
 CONFIG_IOB_NCHAINS=8
 CONFIG_LIBC_HOSTNAME="omnibusf4"
+CONFIG_LIBM=y
 CONFIG_M25P_SPIFREQUENCY=75000000
 CONFIG_MMCSD=y
 CONFIG_MM_IOB=y
diff --git a/boards/arm/stm32/viewtool-stm32f107/configs/tcpblaster/defconfig 
b/boards/arm/stm32/viewtool-stm32f107/configs/tcpblaster/defconfig
index d5c556005c..9e99a61ed8 100644
--- a/boards/arm/stm32/viewtool-stm32f107/configs/tcpblaster/defconfig
+++ b/boards/arm/stm32/viewtool-stm32f107/configs/tcpblaster/defconfig
@@ -24,6 +24,7 @@ CONFIG_INTELHEX_BINARY=y
 CONFIG_IOB_NBUFFERS=50
 CONFIG_IOB_NCHAINS=12
 CONFIG_LIBC_HOSTNAME="Viewtool-STM32F107"
+CONFIG_LIBM=y
 CONFIG_NET=y
 CONFIG_NETINIT_NOMAC=y
 CONFIG_NETINIT_THREAD=y
diff --git a/boards/arm/stm32h7/linum-stm32h753bi/configs/nsh/defconfig 
b/boards/arm/stm32h7/linum-stm32h753bi/configs/nsh/defconfig
index 4f218ce3f4..95667437d0 100644
--- a/boards/arm/stm32h7/linum-stm32h753bi/configs/nsh/defconfig
+++ b/boards/arm/stm32h7/linum-stm32h753bi/configs/nsh/defconfig
@@ -28,6 +28,7 @@ CONFIG_DEBUG_SYMBOLS=y
 CONFIG_EXAMPLES_ALARM=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
+CONFIG_LIBM=y
 CONFIG_MM_REGIONS=4
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_BUILTIN_APPS=y
diff --git a/boards/arm/stm32h7/nucleo-h743zi/configs/elf/defconfig 
b/boards/arm/stm32h7/nucleo-h743zi/configs/elf/defconfig
index 1c5bd7d554..4e8b9991b8 100644
--- a/boards/arm/stm32h7/nucleo-h743zi/configs/elf/defconfig
+++ b/boards/arm/stm32h7/nucleo-h743zi/configs/elf/defconfig
@@ -37,6 +37,7 @@ CONFIG_HAVE_CXX=y
 CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INTELHEX_BINARY=y
+CONFIG_LIBM=y
 CONFIG_MM_REGIONS=4
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_BUILTIN_APPS=y

Reply via email to