26 #define PRI_FwIndexType PRI_PlatformIndexType
31 #define PRI_FwSignedSizeType PRI_PlatformSignedSizeType
36 #define PRI_FwSizeType PRI_PlatformSizeType
40 #define PRI_FwAssertArgType PRI_PlatformAssertArgType
44 #define PRI_FwNativeIntType PRI_PlatformIntType
48 #define PRI_FwNativeUIntType PRI_PlatformUIntType
52 #define PRI_FwTaskPriorityType PRI_PlatformTaskPriorityType
56 #define PRI_FwQueuePriorityType PRI_PlatformQueuePriorityType
60 #define PRI_FwSizeStoreType PRIu16
65 #define PRI_FwEnumStoreType PRId32
76 #define FW_CONTEXT_DONT_CARE 0xFF
80 #define PRI_FwTimeBaseStoreType PRIu16
84 #define PRI_FwTimeContextStoreType PRIu8
88 #define PRI_FwPacketDescriptorType PRIu32
92 #define PRI_FwOpcodeType PRIu32
96 #define PRI_FwChanIdType PRIu32
100 #define PRI_FwTraceIdType PRIu32
104 #define PRI_FwEventIdType PRIu32
108 #define PRI_FwPrmIdType PRIu32
112 #define PRI_FwTlmPacketizeIdType PRIu16
116 #define PRI_FwDpIdType PRIu32
120 #define PRI_FwDpPriorityType PRIu32
131 #define PRI_FwQueueSizeType PRI_FwIndexType
138 #ifndef FW_SERIALIZE_TRUE_VALUE
139 #define FW_SERIALIZE_TRUE_VALUE (0xFF)
142 #ifndef FW_SERIALIZE_FALSE_VALUE
143 #define FW_SERIALIZE_FALSE_VALUE (0x00)
147 #ifndef FW_OBJECT_NAMES
148 #define FW_OBJECT_NAMES \
154 #if FW_OBJECT_NAMES == 1
155 #define FW_OPTIONAL_NAME(name) name
157 #define FW_OPTIONAL_NAME(name) ""
162 #if FW_OBJECT_NAMES == 1
163 #ifndef FW_OBJECT_TO_STRING
164 #define FW_OBJECT_TO_STRING \
168 #define FW_OBJECT_TO_STRING 0
173 #ifndef FW_OBJECT_REGISTRATION
174 #define FW_OBJECT_REGISTRATION \
178 #ifndef FW_QUEUE_REGISTRATION
179 #define FW_QUEUE_REGISTRATION 1
182 #ifndef FW_BAREMETAL_SCHEDULER
183 #define FW_BAREMETAL_SCHEDULER \
191 #ifndef FW_USE_PRINTF_FAMILY_FUNCTIONS_IN_STRING_FORMATTING
192 #define FW_USE_PRINTF_FAMILY_FUNCTIONS_IN_STRING_FORMATTING 1
198 #ifndef FW_PORT_TRACING
199 #define FW_PORT_TRACING 1
203 #ifndef FW_PORT_SERIALIZATION
204 #define FW_PORT_SERIALIZATION \
217 #ifndef FW_SERIALIZATION_TYPE_ID
218 #define FW_SERIALIZATION_TYPE_ID \
224 #if FW_SERIALIZATION_TYPE_ID
225 #ifndef FW_SERIALIZATION_TYPE_ID_BYTES
226 #define FW_SERIALIZATION_TYPE_ID_BYTES 4
237 #ifndef FW_ASSERT_LEVEL
238 #define FW_ASSERT_LEVEL FW_FILENAME_ASSERT
245 #ifndef FW_OBJ_NAME_BUFFER_SIZE
246 #define FW_OBJ_NAME_BUFFER_SIZE \
251 #if FW_OBJECT_REGISTRATION
253 #ifndef FW_OBJ_SIMPLE_REG_ENTRIES
254 #define FW_OBJ_SIMPLE_REG_ENTRIES 500
258 #ifndef FW_OBJ_SIMPLE_REG_BUFF_SIZE
259 #define FW_OBJ_SIMPLE_REG_BUFF_SIZE 255
263 #if FW_QUEUE_REGISTRATION
265 #ifndef FW_QUEUE_SIMPLE_QUEUE_ENTRIES
266 #define FW_QUEUE_SIMPLE_QUEUE_ENTRIES 100
271 #ifndef FW_QUEUE_NAME_BUFFER_SIZE
272 #define FW_QUEUE_NAME_BUFFER_SIZE 80
276 #ifndef FW_TASK_NAME_BUFFER_SIZE
277 #define FW_TASK_NAME_BUFFER_SIZE 80
281 #ifndef FW_COM_BUFFER_MAX_SIZE
282 #define FW_COM_BUFFER_MAX_SIZE 512
286 #ifndef FW_SM_SIGNAL_BUFFER_MAX_SIZE
287 #define FW_SM_SIGNAL_BUFFER_MAX_SIZE 128
292 #ifndef FW_CMD_ARG_BUFFER_MAX_SIZE
293 #define FW_CMD_ARG_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwOpcodeType) - sizeof(FwPacketDescriptorType))
297 #ifndef FW_CMD_STRING_MAX_SIZE
298 #define FW_CMD_STRING_MAX_SIZE 40
307 #ifndef FW_CMD_CHECK_RESIDUAL
308 #define FW_CMD_CHECK_RESIDUAL 1
312 #ifndef FW_LOG_BUFFER_MAX_SIZE
313 #define FW_LOG_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwEventIdType) - sizeof(FwPacketDescriptorType))
318 #ifndef FW_LOG_STRING_MAX_SIZE
319 #define FW_LOG_STRING_MAX_SIZE 200
323 #ifndef FW_TLM_BUFFER_MAX_SIZE
324 #define FW_TLM_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwChanIdType) - sizeof(FwPacketDescriptorType))
328 #ifndef FW_TLM_STRING_MAX_SIZE
329 #define FW_TLM_STRING_MAX_SIZE 40
333 #ifndef FW_PARAM_BUFFER_MAX_SIZE
334 #define FW_PARAM_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwPrmIdType) - sizeof(FwPacketDescriptorType))
338 #ifndef FW_PARAM_STRING_MAX_SIZE
339 #define FW_PARAM_STRING_MAX_SIZE 40
343 #ifndef FW_FILE_BUFFER_MAX_SIZE
344 #define FW_FILE_BUFFER_MAX_SIZE 255
348 #ifndef FW_INTERNAL_INTERFACE_STRING_MAX_SIZE
349 #define FW_INTERNAL_INTERFACE_STRING_MAX_SIZE 256
353 #ifndef FW_ENABLE_TEXT_LOGGING
354 #define FW_ENABLE_TEXT_LOGGING 1
358 #ifndef FW_LOG_TEXT_BUFFER_SIZE
359 #define FW_LOG_TEXT_BUFFER_SIZE 256
364 #ifndef FW_SERIALIZABLE_TO_STRING
365 #define FW_SERIALIZABLE_TO_STRING 1
369 #ifndef FW_AMPCS_COMPATIBLE
370 #define FW_AMPCS_COMPATIBLE 0
376 #ifndef FW_USE_TIME_BASE
377 #define FW_USE_TIME_BASE 1
380 #ifndef FW_USE_TIME_CONTEXT
381 #define FW_USE_TIME_CONTEXT 1
386 #ifndef FW_FIXED_LENGTH_STRING_SIZE
387 #define FW_FIXED_LENGTH_STRING_SIZE 256
391 #ifndef FW_CONSOLE_HANDLE_MAX_SIZE
392 #define FW_CONSOLE_HANDLE_MAX_SIZE 24
395 #ifndef FW_TASK_HANDLE_MAX_SIZE
396 #define FW_TASK_HANDLE_MAX_SIZE 24
399 #ifndef FW_FILE_HANDLE_MAX_SIZE
400 #define FW_FILE_HANDLE_MAX_SIZE 16
403 #ifndef FW_MUTEX_HANDLE_MAX_SIZE
404 #define FW_MUTEX_HANDLE_MAX_SIZE 72
407 #ifndef FW_QUEUE_HANDLE_MAX_SIZE
408 #define FW_QUEUE_HANDLE_MAX_SIZE 352
411 #ifndef FW_DIRECTORY_HANDLE_MAX_SIZE
412 #define FW_DIRECTORY_HANDLE_MAX_SIZE 16
415 #ifndef FW_FILESYSTEM_HANDLE_MAX_SIZE
416 #define FW_FILESYSTEM_HANDLE_MAX_SIZE 16
419 #ifndef FW_RAW_TIME_HANDLE_MAX_SIZE
420 #define FW_RAW_TIME_HANDLE_MAX_SIZE 24
423 #ifndef FW_RAW_TIME_SERIALIZATION_MAX_SIZE
424 #define FW_RAW_TIME_SERIALIZATION_MAX_SIZE 8
427 #ifndef FW_CONDITION_VARIABLE_HANDLE_MAX_SIZE
428 #define FW_CONDITION_VARIABLE_HANDLE_MAX_SIZE 56
431 #ifndef FW_CPU_HANDLE_MAX_SIZE
432 #define FW_CPU_HANDLE_MAX_SIZE 16
435 #ifndef FW_MEMORY_HANDLE_MAX_SIZE
436 #define FW_MEMORY_HANDLE_MAX_SIZE 16
439 #ifndef FW_HANDLE_ALIGNMENT
440 #define FW_HANDLE_ALIGNMENT 8
444 #ifndef FW_FILE_CHUNK_SIZE
445 #define FW_FILE_CHUNK_SIZE 512
453 #define PRI_FwBuffSizeType PRI_FwSizeStoreType
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.
PlatformTaskPriorityType FwTaskPriorityType
PlatformAssertArgType FwAssertArgType
PlatformUIntType FwNativeUIntType
PlatformIntType FwNativeIntType
PlatformSignedSizeType FwSignedSizeType
FwSizeStoreType FwBuffSizeType
FwIndexType FwQueueSizeType
U32 FwPacketDescriptorType
U8 FwTimeContextStoreType
PlatformSizeType FwSizeType
PlatformQueuePriorityType FwQueuePriorityType
PlatformIndexType FwIndexType