diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index f87f36b..6807146 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -16,7 +16,7 @@ endif () # Register the component. Now, CMake knows how GZ_OUTPUT_FILE is generated # and can correctly handle the dependency for embedding. -idf_component_register(SRC_DIRS "app" "nconfig" "wifi" "indicator" "system" "service" "proto" +idf_component_register(SRC_DIRS "app" "nconfig" "wifi" "indicator" "service" "proto" INCLUDE_DIRS "include" "proto" EMBED_FILES ${GZ_OUTPUT_FILE} ) diff --git a/main/system/system.c b/main/service/system.c similarity index 100% rename from main/system/system.c rename to main/service/system.c