generate version

This commit is contained in:
2024-04-29 04:04:55 +02:00
parent 3164b6d8d9
commit 623ec1576a
4 changed files with 85 additions and 1 deletions

15
Revision/version_info.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include <stdint.h>
typedef struct firmware_version {
uint8_t major;
uint8_t minor;
uint8_t patch;
uint8_t count;
char branch[50];
char commit_hash[8];
} firmware_version_t;
extern const firmware_version_t VERSION_INFO;