fix(cmakev2/compat): add esp_stdio to common requires

The cmakev1 added esp_stdio to common requires, add it in cmakev2 too
for backward compatibility.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata
2025-11-04 11:06:02 +01:00
parent b45631a7af
commit 33e7824e33
+3 -2
View File
@@ -258,10 +258,11 @@ function(__init_common_components)
# Define common components that are included as dependencies for each
# component.
if("${idf_target}" STREQUAL "linux")
set(requires_common freertos esp_hw_support heap log soc hal esp_rom esp_common esp_system linux)
set(requires_common freertos esp_hw_support heap log soc hal esp_rom esp_common esp_system linux
esp_stdio)
else()
set(requires_common cxx esp_libc freertos esp_hw_support heap log soc hal esp_rom esp_common
esp_system ${idf_target_arch})
esp_system esp_stdio ${idf_target_arch})
endif()
idf_build_set_property(__COMPONENT_REQUIRES_COMMON "${requires_common}")