fix idf 5.4 compile error

This commit is contained in:
Terrence
2025-01-16 05:11:55 +08:00
parent bdbbff302d
commit e98c80df44
2 changed files with 4 additions and 1 deletions

View File

@@ -6,5 +6,8 @@ cmake_minimum_required(VERSION 3.16)
set(PROJECT_VER "0.9.9")
# Add this line to disable the specific warning
add_compile_options(-Wno-missing-field-initializers)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(xiaozhi)

View File

@@ -7,7 +7,7 @@ dependencies:
espressif/esp_lcd_gc9a01: "^2.0.1"
78/esp_lcd_nv3023: "~1.0.0"
78/esp-wifi-connect: "~2.0.1"
78/esp-opus-encoder: "~2.0.0"
78/esp-opus-encoder: "~2.1.0"
78/esp-ml307: "~1.7.1"
espressif/led_strip: "^2.4.1"
espressif/esp_codec_dev: "~1.3.2"