Skip to content

Commit

Permalink
xtensa_sample_controller: Enable newlib retargetable locking
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
stephanosio authored and galak committed Jan 8, 2020
1 parent 10f55f1 commit f4ae42f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/xtensa_sample_controller.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f4ae42f

Please sign in to comment.