logger: add more version info & uuid

in particular:
- SW release version (in addition to the git hash)
- OS version (tag + git hash if exists)
- mcu version & revision & UUID
- toolchain version

The uuid can be disabled via parameter, it's enabled by default.
This commit is contained in:
Beat Küng
2016-12-21 11:35:10 +01:00
committed by Lorenz Meier
parent 41dc34204c
commit 5ad2595f43
3 changed files with 69 additions and 3 deletions
+5
View File
@@ -181,6 +181,11 @@ private:
void write_info(const char *name, const char *value);
void write_info(const char *name, int32_t value);
void write_info(const char *name, uint32_t value);
/** generic common template method for write_info variants */
template<typename T>
void write_info_template(const char *name, T value, const char *type_str);
void write_parameters();