feat(storage/stdio): Refactor stdio_vfs multiplexer

This commit is contained in:
Tomáš Rohlínek
2026-05-27 11:37:56 +02:00
parent 1ee7028fbb
commit e08bed82c6
3 changed files with 366 additions and 82 deletions
+4 -2
View File
@@ -7,7 +7,6 @@ if(non_os_build)
idf_component_register()
return()
endif()
set(srcs)
set(includes)
@@ -18,10 +17,13 @@ if(${target} STREQUAL "linux")
"linux/include")
else()
list(APPEND srcs "stdio_port.c"
"stdio_vfs.c"
"stdio_simple.c"
"stdio_syscalls_simple.c")
list(APPEND includes "include")
if(CONFIG_VFS_SUPPORT_IO)
list(APPEND srcs "stdio_vfs.c")
endif()
endif()
idf_component_register(SRCS ${srcs}