Update project version to 2.4.1 and enhance WifiBoard configuration

- Incremented project version from 2.4.0 to 2.4.1 in CMakeLists.txt.
- Added options to WifiBoard configuration to show OTA and sleep settings.
This commit is contained in:
Xiaoxia
2026-08-04 09:24:25 +08:00
parent 0a1dbdb2d8
commit 66bf9f7c1d
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
idf_build_set_property(MINIMAL_BUILD ON)
set(PROJECT_VER "2.4.0")
set(PROJECT_VER "2.4.1")
project(xiaozhi)
+3
View File
@@ -56,6 +56,9 @@ void WifiBoard::StartNetwork() {
WifiManagerConfig config;
config.ssid_prefix = "Xiaozhi";
config.language = Lang::CODE;
config.show_ota_config = true;
config.show_sleep_config = true;
// Set a DHCP hostname so the router shows a friendly name instead of "espressif".
// Uses the same "<prefix>-<last 2 MAC bytes>" scheme as the config AP SSID.
uint8_t mac[6];