From 6c3d8f8de5548c8dd7e3bfdf6c90070fe88e2120 Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Fri, 17 Apr 2026 15:32:48 +0200 Subject: [PATCH] fix(g1_components): force VFS_SUPPORT_IO=n for restricted COMPONENTS build g1_components builds a minimal COMPONENTS list. When every component's Kconfig is processed, components/vfs/Kconfig sets VFS_SUPPORT_IO=y by default, and the conditional requires in esp_stdio and esp_libc pull vfs, esp_driver_uart, and their transitive deps into the closure. Add an sdkconfig.defaults that forces the symbol off so the dependency graph stays restricted to the components actually under test. --- tools/test_apps/system/g1_components/sdkconfig.defaults | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tools/test_apps/system/g1_components/sdkconfig.defaults diff --git a/tools/test_apps/system/g1_components/sdkconfig.defaults b/tools/test_apps/system/g1_components/sdkconfig.defaults new file mode 100644 index 00000000000..970a4787509 --- /dev/null +++ b/tools/test_apps/system/g1_components/sdkconfig.defaults @@ -0,0 +1,6 @@ +# Force VFS_SUPPORT_IO off so the conditional requires in esp_stdio and +# esp_libc do not pull vfs, esp_driver_uart, and their transitive deps +# into the g1_components closure. components/vfs/Kconfig defaults this +# symbol to y whenever it is processed, which happens for every discovered +# component under IDF_BUILD_V2 regardless of the COMPONENTS restriction. +CONFIG_VFS_SUPPORT_IO=n