Refactor: dns_captive als eigenständige ESP-IDF-Komponente ausgelagert
- dns_captive.c/.h nach components/dns_captive verschoben - Neues CMakeLists.txt für Komponente ergänzt - src/CMakeLists.txt angepasst (komponentenbasiert, REQUIRES dns_captive) - Projektstruktur bereinigt und klar modularisiert
This commit is contained in:
+16
-18
@@ -1,19 +1,17 @@
|
||||
set(app_sources
|
||||
"main.c"
|
||||
"http_portal.c"
|
||||
"lv_fs_port.c"
|
||||
"net_influx.c"
|
||||
"net_mdns.c"
|
||||
"sen5x_app.c"
|
||||
"storage.c"
|
||||
"sys_status.c"
|
||||
"wifi_mgr.c"
|
||||
)
|
||||
|
||||
idf_component_register(
|
||||
SRCS
|
||||
"main.c"
|
||||
"lv_fs_port.c"
|
||||
"wifi_mgr.c"
|
||||
"http_portal.c"
|
||||
"storage.c"
|
||||
"dns_captive.c"
|
||||
"net_mdns.c"
|
||||
"net_influx.c"
|
||||
"sys_status.c"
|
||||
"sen5x_app.c"
|
||||
INCLUDE_DIRS
|
||||
"."
|
||||
REQUIRES
|
||||
driver
|
||||
freertos
|
||||
log
|
||||
)
|
||||
SRCS ${app_sources}
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES dns_captive
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user