diff --git a/config/esp32/components/chip/Kconfig b/config/esp32/components/chip/Kconfig index 1475ecf599ddd4..886b3bbfb92c3a 100644 --- a/config/esp32/components/chip/Kconfig +++ b/config/esp32/components/chip/Kconfig @@ -277,20 +277,6 @@ menu "CHIP Core" help Enable this option to enable sntp time synchronization for example - config SNTP_SERVER_NAME - string "Name of the SNTP server" - depends on ENABLE_SNTP_TIME_SYNC - default "pool.ntp.org" - help - The name of the sntp server. - - config SNTP_SYNC_INTERVAL_DAY - int "SNTP sync interval time in day" - depends on ENABLE_SNTP_TIME_SYNC - default 1 - help - The interval between syncing device type with sntp server. - endmenu # "System Options" menu "Security Options" diff --git a/examples/energy-management-app/esp32/main/CMakeLists.txt b/examples/energy-management-app/esp32/main/CMakeLists.txt index ddaff6b83e02f0..09abb5081b2579 100644 --- a/examples/energy-management-app/esp32/main/CMakeLists.txt +++ b/examples/energy-management-app/esp32/main/CMakeLists.txt @@ -31,6 +31,7 @@ set(SRC_DIRS_LIST "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/energy-management-app/energy-management-common/src" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/platform/esp32/ota" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/platform/esp32/common" + "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/platform/esp32/time" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/platform/esp32/shell_extension" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/util" diff --git a/examples/energy-management-app/esp32/main/main.cpp b/examples/energy-management-app/esp32/main/main.cpp index 1107e33576bd04..3a4ab12aa5c2b6 100644 --- a/examples/energy-management-app/esp32/main/main.cpp +++ b/examples/energy-management-app/esp32/main/main.cpp @@ -23,7 +23,7 @@ #include #include #if CONFIG_ENABLE_SNTP_TIME_SYNC -#include +#include