初始版本

This commit is contained in:
xiaozhengsheng
2025-08-19 09:49:41 +08:00
parent 10f1ddf1c1
commit 6df0f7d96e
2974 changed files with 1712873 additions and 54 deletions

31
app/Inc/user_config.h Normal file
View File

@@ -0,0 +1,31 @@
/********************************************************************
Copyright (c) 2021 Xiangyu Medical Co.Ltd. All rights reserved.
FileName :
Author : xiaozhengsheng
Version : V1.0
Date :
Note :
History :
********************************************************************/
#ifndef _USER_CONFIG_H_
#define _USER_CONFIG_H_
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#define SOFT_VERSION_MAX_LENGTH 50
typedef struct {
uint8_t major; // 主版本号 (V1)
uint8_t minor; // 次版本号 (.0)
uint8_t patch; // 修订号 (.0)
uint8_t build; // 构建号 (.0)
uint8_t testVersion[30];
} version_t;
extern char softWareVersion[SOFT_VERSION_MAX_LENGTH];
void read_config_user_config(void);
#endif
/*************************** END OF FILE ***************************/