From a9bfe92887f2d8ebf9c5ea9b4e67213bb50f40e1 Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Fri, 6 Feb 2026 17:40:45 +0100 Subject: [PATCH] fix(esp_phy/cmake): initialize embed_files variable In cmakev2, a component can be evaluated within the context of another component, so it's important to properly initialize each variable used by the component. Signed-off-by: Frantisek Hrbata --- components/esp_phy/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/esp_phy/CMakeLists.txt b/components/esp_phy/CMakeLists.txt index b566f006e8..7c827338a0 100644 --- a/components/esp_phy/CMakeLists.txt +++ b/components/esp_phy/CMakeLists.txt @@ -10,6 +10,8 @@ if(IDF_TARGET STREQUAL "esp32p4") return() endif() +set(embed_files) + if(CONFIG_ESP_PHY_ENABLED) set(srcs "src/phy_override.c" "src/lib_printf.c" "src/phy_common.c")