Files
mimiclaw/sdkconfig.defaults
Z.To c1368962cc
Some checks failed
Build / idf-build (push) Has been cancelled
fix: 添加 Kconfig.projbuild 修复模块开关失效问题
- 创建 main/Kconfig.projbuild 声明所有自定义模块配置项
- 修复 fullclean 后 sdkconfig 丢失 CONFIG_MIMI_* 配置的问题
- 更新 AGENTS.md 添加认知修正栏目和模块开关文档
- 记录 Kconfig 踩坑讨论到 taolun.md
2026-04-04 06:44:52 +08:00

43 lines
1.8 KiB
Plaintext

# MimiClaw - Common Default Configuration
# Target-specific settings are in sdkconfig.defaults.esp32s3
# Network hostname
CONFIG_LWIP_LOCAL_HOSTNAME="mimiclaw"
# SPIFFS: increase max filename length (default 32 is too short for session files)
CONFIG_SPIFFS_OBJ_NAME_LEN=64
# ─── Channel Modules ──────────────────────────────────────────────
# Telegram bot integration (disable if using Feishu only)
CONFIG_MIMI_CHAN_TELEGRAM=n
# Feishu (Lark) bot integration (default: enabled)
CONFIG_MIMI_CHAN_FEISHU=y
# ─── Tool Modules ─────────────────────────────────────────────────
# Web search tool (requires search API key)
CONFIG_MIMI_TOOL_WEB_SEARCH=y
# GPIO control tool (for hardware control)
CONFIG_MIMI_TOOL_GPIO=n
# ─── Optional Modules ──────────────────────────────────────────────
# WebSocket gateway (for local clients)
CONFIG_MIMI_WS_SERVER=y
# WiFi onboarding portal (Captive Portal for initial setup)
CONFIG_MIMI_WIFI_ONBOARD=y
# OTA firmware update (not fully implemented)
CONFIG_MIMI_OTA=n
# Brownout Detection: protect against power drops during Flash/NVS writes
CONFIG_ESP32S3_BROWNOUT_DET=y
CONFIG_ESP32S3_BROWNOUT_DET_LVL_SEL_7=y
CONFIG_ESP32S3_BROWNOUT_DET_LVL=7
# SNTP: enable SNTP support for automatic time sync
# NOTE: CONFIG_LWIP_SNTP_MAX_SERVERS may be deprecated in ESP-IDF v6.0
# If compilation fails, comment out this line or use the new SNTP component config
CONFIG_LWIP_SNTP_MAX_SERVERS=4
# Partition table: use custom partition table with SPIFFS and OTA
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"