From ca1dc53797bd855a41ac23b48c6001e9cc300f8a Mon Sep 17 00:00:00 2001 From: Thomas Kuschel Date: Sat, 16 Jul 2022 01:55:26 +0200 Subject: [PATCH] Release with -O3 instead of -Os, Debug version is shown in info --- .cproject | 6 ++- Core/Inc/at1_defines.h | 9 +++- stm32l4a6zg-f0x.at1 Release.launch | 80 ++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+), 3 deletions(-) create mode 100644 stm32l4a6zg-f0x.at1 Release.launch diff --git a/.cproject b/.cproject index 6da7c60..c75a254 100644 --- a/.cproject +++ b/.cproject @@ -120,7 +120,7 @@ + diff --git a/Core/Inc/at1_defines.h b/Core/Inc/at1_defines.h index 5ca3128..8ae6ff0 100644 --- a/Core/Inc/at1_defines.h +++ b/Core/Inc/at1_defines.h @@ -26,8 +26,13 @@ extern "C" { #define STR(x) STR_HELPER(x) #endif #define VERSION_MAJOR 0 -#define VERSION_MINOR 3 -#define PROGRAM_ID "f0x.at1 Version " STR(VERSION_MAJOR) "." STR(VERSION_MINOR) +#define VERSION_MINOR 4 +#ifdef DEBUG +#define VERSION_DEBUG ".D" +#else +#define VERSION_DEBUG +#endif +#define PROGRAM_ID "f0x.at1 Version " STR(VERSION_MAJOR) "." STR(VERSION_MINOR) VERSION_DEBUG #define VERSION_STRING STR(VERSION_MAJOR) "." STR(VERION_MINOR) /*#define DATE __DATE__ */ #define AUTHOR_STRING "Tom Kuschel KW4NZ" diff --git a/stm32l4a6zg-f0x.at1 Release.launch b/stm32l4a6zg-f0x.at1 Release.launch new file mode 100644 index 0000000..674a6c9 --- /dev/null +++ b/stm32l4a6zg-f0x.at1 Release.launch @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +