diff --git a/stm-firmware/include/reflow-controller/version.h b/stm-firmware/include/reflow-controller/version.h index 0070e3e..96e5e6a 100644 --- a/stm-firmware/include/reflow-controller/version.h +++ b/stm-firmware/include/reflow-controller/version.h @@ -21,7 +21,9 @@ #ifndef _VERSION_H_ #define _VERSION_H_ -extern const char *git_version_string; -extern const char *git_full_commit_string; +extern const char *version_git_version_string; +extern const char *version_git_full_commit_string; +extern const char *version_compile_date; +extern const char *version_compile_time; #endif /* _VERSION_H_ */ \ No newline at end of file diff --git a/stm-firmware/version.c b/stm-firmware/version.c index f2e8752..602a0ef 100644 --- a/stm-firmware/version.c +++ b/stm-firmware/version.c @@ -21,5 +21,7 @@ #include #include -const char *git_version_string = GIT_VERSION_STRING; -const char *git_full_commit_string = GIT_FULL_COMMIT; \ No newline at end of file +const char *version_git_version_string = GIT_VERSION_STRING; +const char *version_git_full_commit_string = GIT_FULL_COMMIT; +const char *version_compile_date = __DATE__; +const char *version_compile_time = __TIME__; \ No newline at end of file