From ef95bb77b07bad18a9a08b59667ac7a4c5e4832b Mon Sep 17 00:00:00 2001 From: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com> Date: Fri, 24 Nov 2023 10:01:11 +0900 Subject: [PATCH] platform.txt: Add include path to newlib math library Use newlib math library instead of nuttx math one. --- .../packages/SPRESENSE/hardware/spresense/1.0.0/platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/platform.txt b/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/platform.txt index 69130a54..7d63fa75 100644 --- a/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/platform.txt +++ b/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/platform.txt @@ -17,7 +17,7 @@ compiler.warning_flags.all=-Wall -Wextra compiler.path={runtime.tools.gcc-arm-none-eabi.path}/{runtime.os}/bin/ compiler.sdk.path={build.kernel} -compiler.cpreprocessor.flags= "-I{build.kernel}/nuttx/include/libcxx" "-I{build.kernel}/nuttx/include" "-I{build.kernel}/nuttx/arch" "-I{build.kernel}/nuttx/arch/chip" "-I{build.kernel}/sdk/include" "-I{build.kernel}/sdk/modules/include" "-I{build.kernel}/sdk/apps/include" "-I{build.kernel}/sdk/system/include" "-I{build.kernel}/sdk/externals/include" "-I{build.kernel}/sdk/externals/include/cmsis" "-I{variant.path}" {build.debug} -DCONFIG_WCHAR_BUILTIN -DCONFIG_HAVE_DOUBLE -D__NuttX__ +compiler.cpreprocessor.flags= "-I{build.kernel}/nuttx/include/libcxx" "-I{build.kernel}/nuttx/include/newlib" "-I{build.kernel}/nuttx/include" "-I{build.kernel}/nuttx/arch" "-I{build.kernel}/nuttx/arch/chip" "-I{build.kernel}/sdk/include" "-I{build.kernel}/sdk/modules/include" "-I{build.kernel}/sdk/apps/include" "-I{build.kernel}/sdk/system/include" "-I{build.kernel}/sdk/externals/include" "-I{build.kernel}/sdk/externals/include/cmsis" "-I{variant.path}" {build.debug} -DCONFIG_WCHAR_BUILTIN -DCONFIG_HAVE_DOUBLE -D__NuttX__ compiler.c.cmd=arm-none-eabi-gcc