Skip to content

Commit ff5d303

Browse files
stephanosiogalak
authored andcommitted
xtensa_intel_apl_adsp: 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 c0d4da8 commit ff5d303

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configs/xtensa_intel_apl_adsp.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
2323
CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
2424
CT_LIBC_NEWLIB_LITE_EXIT=y
2525
# CT_LIBC_NEWLIB_MULTITHREAD is not set
26+
CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
2627
# CT_LIBC_NEWLIB_WIDE_ORIENT is not set
2728
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
2829
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
@@ -35,6 +36,7 @@ CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
3536
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
3637
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
3738
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
39+
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
3840
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
3941
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
4042
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y

0 commit comments

Comments
 (0)