更新版本号策略

This commit is contained in:
2026-02-02 10:00:20 +08:00
parent fcf10601b9
commit 60104f9363
6 changed files with 43 additions and 20 deletions

7
cmake/version.h.in Normal file
View File

@@ -0,0 +1,7 @@
#pragma once
/* Auto-generated from CMake VERSION_* variables. Do not edit directly. */
#define BOARD_TYPE_CODE @BOARD_TYPE_CODE@
#define FW_VERSION_MAJOR @VERSION_MAJOR@
#define FW_VERSION_MINOR @VERSION_MINOR@
#define FW_VERSION_PATCH @VERSION_PATCH@