Refactor: storage in separate component ausgelagert

This commit is contained in:
2025-12-11 00:56:54 +01:00
parent 707df025b8
commit 5fccab5aff
4 changed files with 10 additions and 2 deletions
@@ -0,0 +1,9 @@
idf_component_register(
SRCS
"src/storage.c"
INCLUDE_DIRS
"include"
REQUIRES
nvs_flash
)
+1 -2
View File
@@ -5,7 +5,6 @@ set(app_sources
"net_influx.c" "net_influx.c"
"net_mdns.c" "net_mdns.c"
"sen5x_app.c" "sen5x_app.c"
"storage.c"
"sys_status.c" "sys_status.c"
"wifi_mgr.c" "wifi_mgr.c"
) )
@@ -13,5 +12,5 @@ set(app_sources
idf_component_register( idf_component_register(
SRCS ${app_sources} SRCS ${app_sources}
INCLUDE_DIRS "." INCLUDE_DIRS "."
REQUIRES dns_captive REQUIRES dns_captive storage
) )