FPGA_module/applications/revision.h

27 lines
852 B
C

#ifndef REVISION_H_
#define REVISION_H_
#if (defined DEBUG)
#define FIRMWARE_TARGET_STR "debug"
#elif (defined _DEBUG)
#define FIRMWARE_TARGET_STR "debug"
#elif (defined __DEBUG)
#define FIRMWARE_TARGET_STR "debug"
#elif (defined DISTRIBUTION)
#define FIRMWARE_TARGET_STR "distribution"
#elif (defined _DISTRIBUTION)
#define FIRMWARE_TARGET_STR "distribution"
#elif (defined __DISTRIBUTION)
#define FIRMWARE_TARGET_STR "distribution"
#else
#define FIRMWARE_TARGET_STR "release"
#endif
#define FIRMWARE_VER_REV 5
#define FIRMWARE_VER_REV_STR "5"
#define FIRMWARE_VER_HASH_STR "698c62f0"
#define FIRMWARE_VER_MULTI ""
#define FIRMWARE_BUILD_INFO "r"FIRMWARE_VER_REV_STR"-"FIRMWARE_VER_HASH_STR" "FIRMWARE_TARGET_STR" "" built on "__DATE__" "__TIME__
#define FIRMWARE_SUBMODULE_REV \
"\
"
#endif