Skip to content

Commit f4ae42f

Browse files
stephanosiogalak
authored andcommitted
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 <[email protected]>
1 parent 10f55f1 commit f4ae42f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configs/xtensa_sample_controller.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
2222
CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
2323
CT_LIBC_NEWLIB_LITE_EXIT=y
2424
# CT_LIBC_NEWLIB_MULTITHREAD is not set
25+
CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
2526
# CT_LIBC_NEWLIB_WIDE_ORIENT is not set
2627
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
2728
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
@@ -34,6 +35,7 @@ CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
3435
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
3536
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
3637
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
38+
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
3739
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
3840
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
3941
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y

0 commit comments

Comments
 (0)