Files
xiaozhi-esp32/main/boards/jiuchuan-s3
Xiaoxia b7db68457c v2.1.0: Upgrade esp-wifi-connect to 3.0; New device state machine (#1528)
* Upgrade component version

* update fonts component version

* Handle OTA error code

* Update project version to 2.1.0 and add device state machine implementation

- Upgrade  esp-wifi-connect to 3.0.0, allowing reconfiguring wifi without rebooting
- Introduce device state machine with state change notification in new files
- Remove obsolete device state event files
- Update application logic to utilize new state machine
- Minor adjustments in various board implementations for state handling

* fix compile errors

* Refactor power saving mode implementation to use PowerSaveLevel enumeration

- Updated Application class to replace SetPowerSaveMode with SetPowerSaveLevel, allowing for LOW_POWER and PERFORMANCE settings.
- Modified various board implementations to align with the new power save level structure.
- Ensured consistent handling of power save levels across different board files, enhancing code maintainability and clarity.

* Refactor power save level checks across multiple board implementations

- Updated the condition for power save level checks in various board files to ensure that the power save timer only wakes up when the level is not set to LOW_POWER.
- Improved consistency in handling power save levels, enhancing code clarity and maintainability.

* Refactor EnterWifiConfigMode calls in board implementations

- Updated calls to EnterWifiConfigMode to use the appropriate instance reference (self or board) across multiple board files.
- Improved code consistency and clarity in handling device state during WiFi configuration mode entry.

* Add cellular modem event handling and improve network status updates

- Introduced new network events for cellular modem operations, including detecting, registration errors, and timeouts.
- Enhanced the Application class to handle different network states and update the display status accordingly.
- Refactored Ml307Board to implement a callback mechanism for network events, improving modularity and responsiveness.
- Updated dual_network_board and board headers to support new network event callbacks, ensuring consistent handling across board implementations.

* update esp-wifi-connect version

* Update WiFi configuration tool messages across multiple board implementations to clarify user actions
2025-12-09 09:24:56 +08:00
..
2025-10-02 03:29:16 +08:00

jiuchuan-xiaozhi-sound

九川科技小智AI音箱

🛠️ 编译指南

开发环境ESP-IDF v5.4.1

编译步骤:

⚠️ 提示:若在编译过程中访问在线库失败,可以尝试切换加速器状态,或修改 [idf_component.yml] 文件,替换为国内镜像源。

  1. 使用 VSCode 打开项目文件夹;
  2. 清除工程Clean Project
  3. 设置 ESP-IDF 版本为 v5.4.1
  4. 点击 VSCode 右下角提示,生成 [compile_commands.json] 文件;
  5. 设置目标设备为 [esp32s3] -> [JTAG]
  6. 打开 SDK Configuration Editor
  7. 设置 Board Type九川科技
  8. 保存配置并开始编译。

🔌 烧录步骤

  1. 使用数据线连接电脑与音箱;
  2. 关闭设备电源后,长按电源键不松手;
  3. 在烧录工具中选择对应的串口COM Port
  4. 点击烧录按钮,选择 UART 模式;
  5. 烧录完成前请勿松开电源键。