16 #define PRI_FwIndexType PRI_PlatformIndexType
19 #define PRI_FwSizeType PRI_PlatformSizeType
22 #define PRI_FwAssertArgType PRI_PlatformAssertArgType
25 #define PRI_FwNativeIntType PRI_PlatformIntType
28 #define PRI_FwNativeUIntType PRI_PlatformUIntType
31 #define PRI_FwBuffSizeType PRIu16
34 #define PRI_FwEnumStoreType PRId32
45 #define FW_CONTEXT_DONT_CARE 0xFF
48 #define PRI_FwTimeBaseStoreType PRIu16
51 #define PRI_FwTimeContextStoreType PRIu8
54 #define PRI_FwPacketDescriptorType PRIu32
57 #define PRI_FwOpcodeType PRIu32
60 #define PRI_FwChanIdType PRIu32
63 #define PRI_FwEventIdType PRIu32
66 #define PRI_FwPrmIdType PRIu32
69 #define PRI_FwTlmPacketizeIdType PRIu16
72 #define PRI_FwDpIdType PRIu32
75 #define PRI_FwDpPriorityType PRIu32
78 #ifndef FW_SERIALIZE_TRUE_VALUE
79 #define FW_SERIALIZE_TRUE_VALUE (0xFF)
82 #ifndef FW_SERIALIZE_FALSE_VALUE
83 #define FW_SERIALIZE_FALSE_VALUE (0x00)
87 #ifndef FW_OBJECT_NAMES
88 #define FW_OBJECT_NAMES \
94 #if FW_OBJECT_NAMES == 1
95 #define FW_OPTIONAL_NAME(name) name
97 #define FW_OPTIONAL_NAME(name) ""
102 #if FW_OBJECT_NAMES == 1
103 #ifndef FW_OBJECT_TO_STRING
104 #define FW_OBJECT_TO_STRING \
108 #define FW_OBJECT_TO_STRING 0
113 #ifndef FW_OBJECT_REGISTRATION
114 #define FW_OBJECT_REGISTRATION \
118 #ifndef FW_QUEUE_REGISTRATION
119 #define FW_QUEUE_REGISTRATION 1
122 #ifndef FW_BAREMETAL_SCHEDULER
123 #define FW_BAREMETAL_SCHEDULER \
130 #ifndef FW_PORT_TRACING
131 #define FW_PORT_TRACING 1
135 #ifndef FW_PORT_SERIALIZATION
136 #define FW_PORT_SERIALIZATION \
149 #ifndef FW_SERIALIZATION_TYPE_ID
150 #define FW_SERIALIZATION_TYPE_ID \
156 #if FW_SERIALIZATION_TYPE_ID
157 #ifndef FW_SERIALIZATION_TYPE_ID_BYTES
158 #define FW_SERIALIZATION_TYPE_ID_BYTES 4
169 #define FW_ASSERT_DFL_MSG_LEN 256
170 #ifndef FW_ASSERT_LEVEL
171 #define FW_ASSERT_LEVEL FW_FILENAME_ASSERT
175 #ifndef FW_ASSERT_TEXT_SIZE
176 #define FW_ASSERT_TEXT_SIZE 120
183 #ifndef FW_OBJ_NAME_MAX_SIZE
184 #define FW_OBJ_NAME_MAX_SIZE \
191 #if FW_OBJECT_TO_STRING
192 #ifndef FW_OBJ_TO_STRING_BUFFER_SIZE
193 #define FW_OBJ_TO_STRING_BUFFER_SIZE 255
197 #if FW_OBJECT_REGISTRATION
199 #ifndef FW_OBJ_SIMPLE_REG_ENTRIES
200 #define FW_OBJ_SIMPLE_REG_ENTRIES 500
204 #ifndef FW_OBJ_SIMPLE_REG_BUFF_SIZE
205 #define FW_OBJ_SIMPLE_REG_BUFF_SIZE 255
209 #if FW_QUEUE_REGISTRATION
211 #ifndef FW_QUEUE_SIMPLE_QUEUE_ENTRIES
212 #define FW_QUEUE_SIMPLE_QUEUE_ENTRIES 100
217 #ifndef FW_QUEUE_NAME_MAX_SIZE
218 #define FW_QUEUE_NAME_MAX_SIZE 80
222 #ifndef FW_TASK_NAME_MAX_SIZE
223 #define FW_TASK_NAME_MAX_SIZE 80
227 #ifndef FW_COM_BUFFER_MAX_SIZE
228 #define FW_COM_BUFFER_MAX_SIZE 128
233 #ifndef FW_CMD_ARG_BUFFER_MAX_SIZE
234 #define FW_CMD_ARG_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwOpcodeType) - sizeof(FwPacketDescriptorType))
238 #ifndef FW_CMD_STRING_MAX_SIZE
239 #define FW_CMD_STRING_MAX_SIZE 40
248 #ifndef FW_CMD_CHECK_RESIDUAL
249 #define FW_CMD_CHECK_RESIDUAL 1
253 #ifndef FW_LOG_BUFFER_MAX_SIZE
254 #define FW_LOG_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwEventIdType) - sizeof(FwPacketDescriptorType))
258 #ifndef FW_LOG_STRING_MAX_SIZE
259 #define FW_LOG_STRING_MAX_SIZE 100
263 #ifndef FW_TLM_BUFFER_MAX_SIZE
264 #define FW_TLM_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwChanIdType) - sizeof(FwPacketDescriptorType))
268 #ifndef FW_TLM_STRING_MAX_SIZE
269 #define FW_TLM_STRING_MAX_SIZE 40
273 #ifndef FW_PARAM_BUFFER_MAX_SIZE
274 #define FW_PARAM_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwPrmIdType) - sizeof(FwPacketDescriptorType))
278 #ifndef FW_PARAM_STRING_MAX_SIZE
279 #define FW_PARAM_STRING_MAX_SIZE 40
283 #ifndef FW_FILE_BUFFER_MAX_SIZE
284 #define FW_FILE_BUFFER_MAX_SIZE 255
288 #ifndef FW_INTERNAL_INTERFACE_STRING_MAX_SIZE
289 #define FW_INTERNAL_INTERFACE_STRING_MAX_SIZE 256
293 #ifndef FW_ENABLE_TEXT_LOGGING
294 #define FW_ENABLE_TEXT_LOGGING 1
298 #ifndef FW_LOG_TEXT_BUFFER_SIZE
299 #define FW_LOG_TEXT_BUFFER_SIZE 256
304 #ifndef FW_SERIALIZABLE_TO_STRING
305 #define FW_SERIALIZABLE_TO_STRING 1
308 #if FW_SERIALIZABLE_TO_STRING
309 #ifndef FW_SERIALIZABLE_TO_STRING_BUFFER_SIZE
310 #define FW_SERIALIZABLE_TO_STRING_BUFFER_SIZE 255
315 #ifndef FW_ARRAY_TO_STRING
316 #define FW_ARRAY_TO_STRING 1
319 #if FW_ARRAY_TO_STRING
320 #ifndef FW_ARRAY_TO_STRING_BUFFER_SIZE
321 #define FW_ARRAY_TO_STRING_BUFFER_SIZE 256
326 #ifndef FW_AMPCS_COMPATIBLE
327 #define FW_AMPCS_COMPATIBLE 0
333 #ifndef FW_USE_TIME_BASE
334 #define FW_USE_TIME_BASE 1
337 #ifndef FW_USE_TIME_CONTEXT
338 #define FW_USE_TIME_CONTEXT 1
343 #ifndef FW_FIXED_LENGTH_STRING_SIZE
344 #define FW_FIXED_LENGTH_STRING_SIZE 256
uint8_t U8
8-bit unsigned integer
PlatformIntType PlatformIndexType
unsigned int PlatformUIntType
int PlatformIntType
DefaultTypes.hpp provides fallback defaults for the platform types.
PlatformIntType PlatformAssertArgType
PlatformUIntType PlatformSizeType
@ TB_WORKSTATION_TIME
Time as reported on workstation where software is running. For testing.
@ TB_DONT_CARE
Don't care value for sequences. If FwTimeBaseStoreType is changed, value should be changed.
@ TB_PROC_TIME
Indicates time is processor cycle time. Not tied to external time.
@ TB_NONE
No time base has been established.
PlatformAssertArgType FwAssertArgType
PlatformUIntType FwNativeUIntType
PlatformIntType FwNativeIntType
U32 FwPacketDescriptorType
U8 FwTimeContextStoreType
PlatformSizeType FwSizeType
PlatformIndexType FwIndexType