Closed
Description
Yotta had this feature and was useful for test applications we have: ARMmbed/yotta#403
Propose is to collect build/module information like:
#define MBED_BUILD_INFO_HEADER // to detect when these information is available
#define MBED_BUILD_TIME "YYYY-MM-DD HH:MM:SS"
#define MBED_BUILD_VCS_ID <project_tag+sha>
#define MBED_BUILD_VCS_CLEAN //only if git workarea is clean
#define MBED_BUILD_UUID <unique build id>
#define MBED_BUILD_VCS_ID_<MODULE> <module_tag+sha>
#define MBED_TOOLCHAIN <used toolchain>
#define MBED_TARGET <used target>
#define MBED_OS_VERSION <git tag/sha>