1
0
mirror of https://github.com/rene-dev/stmbl.git synced 2024-12-24 09:32:10 +00:00
stmbl/shared/version.h
2018-03-20 23:39:27 +01:00

26 lines
470 B
C

#pragma once
#include <stdint.h>
typedef struct{
// set at link-time by add-version-info.py
uint32_t image_crc;
uint32_t image_size;
char git_version[32];
char git_branch[32];
char build_user[16];
char build_host[32];
char build_date[16];
char build_time[16];
// set at compile-time
//TODO: change to uint32_t
char product_name[32];
int major;
int minor;
int patch;
} version_info_t;
extern volatile const version_info_t version_info;