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#ifndef FW_SERIALIZE_TRUE_VALUE
73#define FW_SERIALIZE_TRUE_VALUE (0xFF)
76#ifndef FW_SERIALIZE_FALSE_VALUE
77#define FW_SERIALIZE_FALSE_VALUE (0x00)
81#ifndef FW_OBJECT_NAMES
82#define FW_OBJECT_NAMES \
88#if FW_OBJECT_NAMES == 1
89#define FW_OPTIONAL_NAME(name) name
91#define FW_OPTIONAL_NAME(name) ""
96#if FW_OBJECT_NAMES == 1
97#ifndef FW_OBJECT_TO_STRING
98#define FW_OBJECT_TO_STRING \
102#define FW_OBJECT_TO_STRING 0
107#ifndef FW_OBJECT_REGISTRATION
108#define FW_OBJECT_REGISTRATION \
112#ifndef FW_QUEUE_REGISTRATION
113#define FW_QUEUE_REGISTRATION 1
116#ifndef FW_BAREMETAL_SCHEDULER
117#define FW_BAREMETAL_SCHEDULER \
124#ifndef FW_PORT_TRACING
125#define FW_PORT_TRACING 1
129#ifndef FW_PORT_SERIALIZATION
130#define FW_PORT_SERIALIZATION \
143#ifndef FW_SERIALIZATION_TYPE_ID
144#define FW_SERIALIZATION_TYPE_ID \
150#if FW_SERIALIZATION_TYPE_ID
151#ifndef FW_SERIALIZATION_TYPE_ID_BYTES
152#define FW_SERIALIZATION_TYPE_ID_BYTES 4
161#define FW_ASSERT_DFL_MSG_LEN 256
162#ifndef FW_ASSERT_LEVEL
163#define FW_ASSERT_LEVEL FW_FILENAME_ASSERT
167#ifndef FW_ASSERT_TEXT_SIZE
168#define FW_ASSERT_TEXT_SIZE 120
175#ifndef FW_OBJ_NAME_MAX_SIZE
176#define FW_OBJ_NAME_MAX_SIZE \
183#if FW_OBJECT_TO_STRING
184#ifndef FW_OBJ_TO_STRING_BUFFER_SIZE
185#define FW_OBJ_TO_STRING_BUFFER_SIZE 255
189#if FW_OBJECT_REGISTRATION
191#ifndef FW_OBJ_SIMPLE_REG_ENTRIES
192#define FW_OBJ_SIMPLE_REG_ENTRIES 500
196#ifndef FW_OBJ_SIMPLE_REG_BUFF_SIZE
197#define FW_OBJ_SIMPLE_REG_BUFF_SIZE 255
201#if FW_QUEUE_REGISTRATION
203#ifndef FW_QUEUE_SIMPLE_QUEUE_ENTRIES
204#define FW_QUEUE_SIMPLE_QUEUE_ENTRIES 100
209#ifndef FW_QUEUE_NAME_MAX_SIZE
210#define FW_QUEUE_NAME_MAX_SIZE 80
214#ifndef FW_TASK_NAME_MAX_SIZE
215#define FW_TASK_NAME_MAX_SIZE 80
219#ifndef FW_COM_BUFFER_MAX_SIZE
220#define FW_COM_BUFFER_MAX_SIZE 128
225#ifndef FW_CMD_ARG_BUFFER_MAX_SIZE
226#define FW_CMD_ARG_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwOpcodeType) - sizeof(FwPacketDescriptorType))
230#ifndef FW_CMD_STRING_MAX_SIZE
231#define FW_CMD_STRING_MAX_SIZE 40
240#ifndef FW_CMD_CHECK_RESIDUAL
241#define FW_CMD_CHECK_RESIDUAL 1
245#ifndef FW_LOG_BUFFER_MAX_SIZE
246#define FW_LOG_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwEventIdType) - sizeof(FwPacketDescriptorType))
250#ifndef FW_LOG_STRING_MAX_SIZE
251#define FW_LOG_STRING_MAX_SIZE 100
255#ifndef FW_TLM_BUFFER_MAX_SIZE
256#define FW_TLM_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwChanIdType) - sizeof(FwPacketDescriptorType))
260#ifndef FW_TLM_STRING_MAX_SIZE
261#define FW_TLM_STRING_MAX_SIZE 40
265#ifndef FW_PARAM_BUFFER_MAX_SIZE
266#define FW_PARAM_BUFFER_MAX_SIZE (FW_COM_BUFFER_MAX_SIZE - sizeof(FwPrmIdType) - sizeof(FwPacketDescriptorType))
270#ifndef FW_PARAM_STRING_MAX_SIZE
271#define FW_PARAM_STRING_MAX_SIZE 40
275#ifndef FW_FILE_BUFFER_MAX_SIZE
276#define FW_FILE_BUFFER_MAX_SIZE 255
280#ifndef FW_INTERNAL_INTERFACE_STRING_MAX_SIZE
281#define FW_INTERNAL_INTERFACE_STRING_MAX_SIZE 256
285#ifndef FW_ENABLE_TEXT_LOGGING
286#define FW_ENABLE_TEXT_LOGGING 1
290#ifndef FW_LOG_TEXT_BUFFER_SIZE
291#define FW_LOG_TEXT_BUFFER_SIZE 256
296#ifndef FW_SERIALIZABLE_TO_STRING
297#define FW_SERIALIZABLE_TO_STRING 1
300#if FW_SERIALIZABLE_TO_STRING
301#ifndef FW_SERIALIZABLE_TO_STRING_BUFFER_SIZE
302#define FW_SERIALIZABLE_TO_STRING_BUFFER_SIZE 255
307#ifndef FW_ARRAY_TO_STRING
308#define FW_ARRAY_TO_STRING 1
311#if FW_ARRAY_TO_STRING
312#ifndef FW_ARRAY_TO_STRING_BUFFER_SIZE
313#define FW_ARRAY_TO_STRING_BUFFER_SIZE 256
318#ifndef FW_AMPCS_COMPATIBLE
319#define FW_AMPCS_COMPATIBLE 0
325#ifndef FW_USE_TIME_BASE
326#define FW_USE_TIME_BASE 1
329#ifndef FW_USE_TIME_CONTEXT
330#define FW_USE_TIME_CONTEXT 1
335#ifndef FW_FIXED_LENGTH_STRING_SIZE
336#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