From f4ae42f9f98086967a55c1f03f890e1ded48d05b Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Fri, 20 Dec 2019 12:33:52 +0900 Subject: [PATCH] xtensa_sample_controller: Enable newlib retargetable locking This commit enables the newlib retargetable locking option to allow the Zephyr operating system to override the dummy lock functions defined within the newlib. Signed-off-by: Stephanos Ioannidis --- configs/xtensa_sample_controller.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/xtensa_sample_controller.config b/configs/xtensa_sample_controller.config index 84d5ae75..e4aa41f2 100644 --- a/configs/xtensa_sample_controller.config +++ b/configs/xtensa_sample_controller.config @@ -22,6 +22,7 @@ CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y CT_LIBC_NEWLIB_LITE_EXIT=y # CT_LIBC_NEWLIB_MULTITHREAD is not set +CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y # CT_LIBC_NEWLIB_WIDE_ORIENT is not set # CT_LIBC_NEWLIB_NANO_MALLOC is not set # CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set @@ -34,6 +35,7 @@ CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y CT_LIBC_NANO_NEWLIB_LITE_EXIT=y # CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set +CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y # CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y