we want at least the option of separate version strings

This commit is contained in:
mitxela
2023-07-12 19:08:33 +01:00
parent 53b12fec3e
commit 339dc74e98
3 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
2F62501ED4689FB349E356AB974DBE57=A4B1A91E4596F4EC3A121CB648631791 2F62501ED4689FB349E356AB974DBE57=50C66168B03739D025B40EAABFA700A5
8DF89ED150041C4CBC7CB9A9CAA90856=A4B1A91E4596F4EC3A121CB648631791 8DF89ED150041C4CBC7CB9A9CAA90856=50C66168B03739D025B40EAABFA700A5
DC22A860405A8BF2F2C095E5B6529F12=460787E75B2D603D0ACA93B88832D04C DC22A860405A8BF2F2C095E5B6529F12=460787E75B2D603D0ACA93B88832D04C
eclipse.preferences.version=1 eclipse.preferences.version=1

View File

@@ -25,6 +25,7 @@
/* Private includes ----------------------------------------------------------*/ /* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */ /* USER CODE BEGIN Includes */
#define VERSION_STRING "Version 0.0.1 "
#include "../../../version.h" #include "../../../version.h"
#include "qspi_drv.h" #include "qspi_drv.h"
/* USER CODE END Includes */ /* USER CODE END Includes */

View File

@@ -31,5 +31,9 @@ __attribute__((used,section(".pad"))) static const struct {
__DATE__[5] __DATE__[5]
}, },
"T" __TIME__ " ", "T" __TIME__ " ",
#ifdef VERSION_STRING
VERSION_STRING
#else
"Version 0.0.0 " "Version 0.0.0 "
#endif
}; };