-
we are trying to upgrade the project, we work on, from ZephyrOS 3.2 to 3.4 the prj.conf in version 3.2:
the prj.conf in version 3.4:
The Error we get:
we have tried other config parameters but it was still failing with other errors. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Issue resolved. the toolchain in use is syntacore: sc-dt-2023.11, riscv-gcc, riscv64-unknown-elf. I had to explicitly set this in CMakeLists.txt: set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib") CONFIG_CPP=y closing discussion as resolved |
Beta Was this translation helpful? Give feedback.
Issue resolved.
the toolchain in use is syntacore: sc-dt-2023.11, riscv-gcc, riscv64-unknown-elf.
I had to explicitly set this in CMakeLists.txt:
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
the prj.conf is set to:
CONFIG_CPP=y
CONFIG_REQUIRES_FULL_LIBCPP=y
CONFIG_NEWLIB_LIBC=y
CONFIG_STD_CPP20=y
closing discussion as resolved