Index: firmware/App/FPCommon.h =================================================================== diff -u --- firmware/App/FPCommon.h (revision 0) +++ firmware/App/FPCommon.h (revision e5b0e2aedae6e58251b8a028c7fabd947c53abaa) @@ -0,0 +1,62 @@ + +#ifndef __RO_COMMON_H__ +#define __RO_COMMON_H__ + +#include "hal_stdtypes.h" + +// ********** version ********** + +#define RO_VERSION_MAJOR 0 +#define RO_VERSION_MINOR 0 +#define RO_VERSION_MICRO 0 +#define RO_VERSION_BUILD 3 + +// ********** 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 RO versions message. +typedef struct +{ + U08 major; ///< RO version major revision. + U08 minor; ///< RO version minor revision. + U08 micro; ///< RO version micro revision. + U16 build; ///< RO build version. + U08 fpgaId; ///< RO FPGA ID. + U08 fpgaMajor; ///< RO FPGA major revision. + U08 fpgaMinor; ///< RO FPGA minor revision. + U08 fpgaLab; ///< RO FPGA lab revision. + U32 compatibilityRev; ///< RO compatibility revision. +} RO_VERSIONS_T; + +#pragma pack(pop) + +// **** Common Macros **** + +/**@}*/ + +// **** VectorCAST Definitions **** + +#ifdef _VECTORCAST_ + +#endif + +#endif