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 927c6f091d00e60a84995df5a179261e2e7ca386
Author: Saravanan Sekar <[email protected]>
AuthorDate: Wed Nov 4 11:13:48 2026 +0530

    boards/tricore/tc3xx/a2g-tc397-5v-tft: Use the NuttX math library.
    
    With the toolchain libm, the TASKING CMake build links libm.a from the
    TASKING installation, which VX v6.4r1 does not ship, so the link fails:
    
      ninja: error: '.../ctc/lib/tc162/libm.a', needed by 'nuttx', missing
    
    Use the NuttX libm, as triboard_tc4x9_com does, so no toolchain libm
    is needed.
    
    Fixes: 7673cfcefbfc ("cmake: add tasking libm when config 
CONFIG_LIBM_TOOLCHAIN")
    Signed-off-by: Saravanan Sekar <[email protected]>
---
 boards/tricore/tc3xx/a2g-tc397-5v-tft/configs/nsh/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/tricore/tc3xx/a2g-tc397-5v-tft/configs/nsh/defconfig 
b/boards/tricore/tc3xx/a2g-tc397-5v-tft/configs/nsh/defconfig
index 1f3d35cedfc..555dcaa4d28 100644
--- a/boards/tricore/tc3xx/a2g-tc397-5v-tft/configs/nsh/defconfig
+++ b/boards/tricore/tc3xx/a2g-tc397-5v-tft/configs/nsh/defconfig
@@ -29,6 +29,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