feat(newlib): add option for placing newlib lock API into flash

This commit is contained in:
Marius Vikhammer
2025-03-10 17:45:24 +08:00
parent 2fc73a05b3
commit 20bbd2af42
4 changed files with 39 additions and 26 deletions
+8
View File
@@ -11,6 +11,14 @@ menu "LibC"
depends on !IDF_TOOLCHAIN_CLANG && IDF_EXPERIMENTAL_FEATURES
endchoice
config LIBC_LOCKS_PLACE_IN_IRAM
bool "Place lock API in IRAM"
default y
depends on LIBC_NEWLIB
help
Enable this option to include be able to call the lock API from
code that runs while cache is disabled, e.g. IRAM interrupts.
choice LIBC_STDOUT_LINE_ENDING
prompt "Line ending for console output"
default LIBC_STDOUT_LINE_ENDING_CRLF