generate version
This commit is contained in:
15
Revision/version_info.h
Normal file
15
Revision/version_info.h
Normal 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;
|
||||
Reference in New Issue
Block a user