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

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

commit a3819927dd0c6db3d567c78f4bf29bce37ef4727
Author: Saravanan Sekar <[email protected]>
AuthorDate: Fri Oct 30 10:46:18 2026 +0530

    boards/tricore/tc4xx/triboard_tc4x9_com: Use the NuttX math library.
    
    Float printf needs isinf and isnan.  GCC takes them from its libm, but
    the TASKING C library cannot be linked with NuttX, so the TASKING build
    failed.  The NuttX libm provides them for both toolchains.
    
    Signed-off-by: Saravanan Sekar <[email protected]>
---
 boards/tricore/tc4xx/triboard_tc4x9_com/configs/nsh/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/tricore/tc4xx/triboard_tc4x9_com/configs/nsh/defconfig 
b/boards/tricore/tc4xx/triboard_tc4x9_com/configs/nsh/defconfig
index 8f0e1737c5d..13eafd11102 100644
--- a/boards/tricore/tc4xx/triboard_tc4x9_com/configs/nsh/defconfig
+++ b/boards/tricore/tc4xx/triboard_tc4x9_com/configs/nsh/defconfig
@@ -30,6 +30,7 @@ CONFIG_FS_PROCFS=y
 CONFIG_FS_TMPFS=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_LIBC_MEMFD_ERROR=y
+CONFIG_LIBM=y
 CONFIG_NDEBUG=y
 CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_FILEIOSIZE=512

Reply via email to