#ifndef __FP_COMMON_H__ #define __FP_COMMON_H__ #include "hal_stdtypes.h" // ********** version ********** #define FP_VERSION_MAJOR 0 #define FP_VERSION_MINOR 0 #define FP_VERSION_MICRO 0 #define FP_VERSION_BUILD 28 // ********** development build switches ********** #ifndef _RELEASE_ #ifndef _VECTORCAST_ // #define TASK_TIMING_OUTPUT_ENABLED 1 // Re-purposes alarm lamp pins for task timing #include #include #endif #endif #include "Common.h" /** * @addtogroup Main * @{ */ // **** Common Definitions **** #pragma pack(push,1) /// Payload record structure for an FP versions message. typedef struct { U08 major; ///< FP version major revision. U08 minor; ///< FP version minor revision. U08 micro; ///< FP version micro revision. U16 build; ///< FP build version. U08 fpgaId; ///< FP FPGA ID. U08 fpgaMajor; ///< FP FPGA major revision. U08 fpgaMinor; ///< FP FPGA minor revision. U08 fpgaLab; ///< FP FPGA lab revision. U32 compatibilityRev; ///< FP compatibility revision. } FP_VERSIONS_T; /// Record defining the fields in a UI version request message. typedef struct { U08 major; ///< Major version for UI software. U08 minor; ///< Minor version for UI software. U08 micro; ///< Micro version for UI software. U16 build; ///< Build number for UI software. U32 compatibility; ///< Compatibility revision. } UI_VERSIONS_T; #pragma pack(pop) // **** Common Macros **** /**@}*/ // **** VectorCAST Definitions **** #ifdef _VECTORCAST_ #endif #endif