mirror of
https://github.com/78/xiaozhi-esp32.git
synced 2026-02-27 22:36:35 +00:00
* chore: Bump project version to 2.2.3 and refactor board configuration parsing in release script - Updated PROJECT_VER in CMakeLists.txt from 2.2.2 to 2.2.3. - Refactored the board configuration parsing logic in release.py to improve clarity and efficiency by eliminating the mapping function and directly searching for the board type in the CMakeLists.txt file. * refactor: Remove unused system_info.h include and delete obsolete source root file - Removed the inclusion of system_info.h in main.cc as it was no longer needed. - Deleted the _codeql_detected_source_root file, which was obsolete. * feat: Add lcd_init_cmds.h include for display initialization in esp32-p4-nano board - Included the lcd_init_cmds.h header file in esp32-p4-nano.cc to support display initialization commands, enhancing the board's functionality. * chore: Update build workflow and board configuration files - Changed the build job name in the GitHub Actions workflow to use the full name of the matrix variant for better clarity. - Refactored CMakeLists.txt to improve the formatting of the BOARD_SOURCES file globbing. - Added manufacturer information to the config.json files for the eda-robot-pro, eda-super-bear, and eda-tv-pro boards to ensure consistency in configuration.
14 lines
494 B
CMake
Executable File
14 lines
494 B
CMake
Executable File
# The following lines of boilerplate have to be in your project's
|
|
# CMakeLists in this exact order for cmake to work correctly
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
# Add this line to disable the specific warning
|
|
add_compile_options(-Wno-missing-field-initializers)
|
|
|
|
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.2.3")
|
|
project(xiaozhi)
|