FPGA_module/applications/revision.h

27 lines
879 B
C
Raw Normal View History

2024-07-01 00:29:46 +00:00
#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 1
#define FIRMWARE_VER_REV_STR "1"
#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