idf_component_register( SRCS "main.cpp" "protocol.cpp" "protocol_test.cpp" "wifi_manager.cpp" "system_init.cpp" "time_sync.cpp" INCLUDE_DIRS "." REQUIRES nvs_flash esp_wifi esp_netif freertos log cjson esp_timer ) # добавляем кастомный Kconfig set(COMPONENT_KCONFIG "Kconfig")