mirror of
https://github.com/m5stack/ESP-Claw.git
synced 2026-05-20 11:51:49 -07:00
feat(cap_time): add sntp and time context provider
This commit is contained in:
@@ -408,6 +408,7 @@ esp_err_t app_claw_start(const basic_demo_settings_t *settings)
|
||||
ESP_RETURN_ON_ERROR(claw_core_add_context_provider(&claw_skill_active_skill_docs_provider), TAG, "Failed to add active skill docs provider");
|
||||
ESP_RETURN_ON_ERROR(claw_core_add_context_provider(&claw_cap_tools_provider), TAG, "Failed to add cap tools provider");
|
||||
ESP_RETURN_ON_ERROR(claw_core_add_context_provider(&cap_lua_async_jobs_provider), TAG, "Failed to add Lua async jobs provider");
|
||||
ESP_RETURN_ON_ERROR(claw_core_add_context_provider(&cap_time_context_provider), TAG, "Failed to add time context provider");
|
||||
ESP_RETURN_ON_ERROR(claw_core_add_completion_observer(cap_lua_honesty_observe_completion, NULL), TAG, "Failed to install Lua honesty observer");
|
||||
|
||||
ESP_RETURN_ON_ERROR(claw_core_start(), TAG, "Failed to start claw_core");
|
||||
|
||||
@@ -29,3 +29,4 @@ CONFIG_MMAP_FILE_NAME_LENGTH=32
|
||||
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
|
||||
CONFIG_EMOTE_DEF_BG_COLOR=0x171617
|
||||
CONFIG_CLAW_CORE_STAGE_VERBOSITY_VERBOSE=y
|
||||
CONFIG_LWIP_SNTP_MAX_SERVERS=2
|
||||
|
||||
Reference in New Issue
Block a user