diff --git a/examples/led_light/main/app_main.c b/examples/led_light/main/app_main.c index 78e9526..d59f318 100644 --- a/examples/led_light/main/app_main.c +++ b/examples/led_light/main/app_main.c @@ -18,6 +18,7 @@ #include #include #include +#include #include @@ -108,7 +109,10 @@ void app_main() esp_rmaker_ota_config_t ota_config = { .server_cert = ota_server_cert, }; - esp_rmaker_ota_enable(&ota_config, OTA_USING_PARAMS); + esp_rmaker_ota_enable(&ota_config, OTA_USING_TOPICS); + + /* Enable timezone service */ + esp_rmaker_timezone_service_enable(); /* Enable scheduling * Please note that you also need to set the timezone for schedules to work correctly. diff --git a/examples/led_light/partitions.csv b/examples/led_light/partitions.csv index 389e99f..2c30065 100644 --- a/examples/led_light/partitions.csv +++ b/examples/led_light/partitions.csv @@ -6,4 +6,5 @@ otadata, data, ota, , 0x2000 phy_init, data, phy, , 0x1000, ota_0, app, ota_0, 0x20000, 1600K, ota_1, app, ota_1, , 1600K, -fctry, data, nvs, 0x340000, 0x6000 +fctry, data, nvs, 0x340000, 0x6000, +coredump, data, coredump, 0x350000, 64K diff --git a/examples/led_light/sdkconfig.defaults b/examples/led_light/sdkconfig.defaults index 1fbfbe5..bb35194 100644 --- a/examples/led_light/sdkconfig.defaults +++ b/examples/led_light/sdkconfig.defaults @@ -16,3 +16,7 @@ CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA=y CONFIG_BT_ENABLED=y CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y CONFIG_BT_NIMBLE_ENABLED=y + +# For ESP32-C3 Demo App +CONFIG_ESP_RMAKER_LOCAL_CTRL_ENABLE=y +CONFIG_APP_WIFI_SHOW_DEMO_INTRO_TEXT=y -- 2.25.0