From 3df2f3970a605cafba58cb13306bdc845fbb8003 Mon Sep 17 00:00:00 2001 From: wdmomoxx <540825306@qq.com> Date: Mon, 9 Jun 2025 04:43:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0esp32=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=94=A4=E9=86=92=E8=AF=8D=20(#782)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update README.md * Update config.h 增加MCP控制方式 * Update esp32_cgc_board.cc 增加MCP控制方式 * Update CMakeLists.txt 增加ESP32 CGC 144开发板 * Update Kconfig.projbuild 增加ESP32 CGC 144开发板 * Create README.md 增加ESP32 CGC 144开发板 * Add files via upload * Update config.h 修改注释 * Update Kconfig.projbuild 增加ESP32语言唤醒支持(目前需要开启PSRAM) * Add files via upload Add wake word to esp32 * Update sdkconfig.defaults.esp32 增加看门狗超时 --- main/Kconfig.projbuild | 4 ++-- sdkconfig.defaults.esp32 | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 sdkconfig.defaults.esp32 diff --git a/main/Kconfig.projbuild b/main/Kconfig.projbuild index f85c9e1f..ccb7da5a 100644 --- a/main/Kconfig.projbuild +++ b/main/Kconfig.projbuild @@ -360,9 +360,9 @@ config USE_WECHAT_MESSAGE_STYLE config USE_ESP_WAKE_WORD bool "Enable Wake Word Detection (without AFE)" default n - depends on IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C5 + depends on IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C5 || IDF_TARGET_ESP32 help - 支持 ESP32 C3 与 ESP32 C5 + 支持 ESP32 C3 与 ESP32 C5,增加ESP32支持(需要开启PSRAM) config USE_AFE_WAKE_WORD bool "Enable Wake Word Detection (AFE)" diff --git a/sdkconfig.defaults.esp32 b/sdkconfig.defaults.esp32 new file mode 100644 index 00000000..d7eaf09e --- /dev/null +++ b/sdkconfig.defaults.esp32 @@ -0,0 +1,7 @@ + +CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y +CONFIG_PARTITION_TABLE_CUSTOM=y +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions/v1/4m.csv" +CONFIG_PARTITION_TABLE_FILENAME="partitions/v1/4m.csv" +CONFIG_SR_WN_WN9_NIHAOXIAOZHI_TTS=y +CONFIG_ESP_TASK_WDT_TIMEOUT_S=20