forked from eclipse-4diac/4diac-forte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforte_config.h.in
81 lines (62 loc) · 2.75 KB
/
forte_config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*******************************************************************************
* Copyright (c) 2005 - 2014 ACIN, Profactor GmbH, fortiss GmbH
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Alois Zoitl, Martin Melik Merkumians, Ingo Hegny, Michael Hofmann
* - initial API and implementation and/or initial documentation
*******************************************************************************/
#ifndef _CONFIG_H_
#define _CONFIG_H_
#include <datatype.h>
/*!Define the number of times the CTimerHandler will be called per second.
*
* FORTE will use this information to calculate time values.
*/
const TForteUInt32 cgForteTicksPerSecond = ${FORTE_TicksPerSecond};
/*! Define the initial size of the event chain list used in the event chain execution thread.
*
*/
const unsigned int cgEventChainEventListSize = ${FORTE_EventChainEventListSize};
/*! Define the initial size of the event chain's external event list.
*/
const unsigned int cgEventChainExternalEventListSize = ${FORTE_EventChainExternalEventListSize};
/*! Defines the number of pending communication messages can be handled by a communication function block
*
*/
const unsigned int cgCommunicationInterruptQueueSize = ${FORTE_CommunicationInterruptQueueSize};
/*! Buffer size in bytes to be used by the ip layer as receive buffer.
*
*/
const unsigned int cgIPLayerRecvBufferSize = ${FORTE_IPLayerRecvBufferSize};
/*! \brief Define the management encapsulation protocol
*
* Currently two protocols are supported:
* # DEV_MGR for FBDK compliant XML encoded commands
* # WBXML_DEV_MGR for WAP Binary XML encoded commands
*/
#define FORTE_MGM_COMMAND_PROTOCOL ${FORTE_MGMCOMM-ANDPROTOCOL}
//! Max supported hierarchy that can be provided in a management commands
#define FORTE_MGM_MAX_SUPPORTED_NAME_HIERARCHY ${FORTE_MGM_MAX_SUPPORTED_NAME_HIERACHY}
/*! \brief FORTE string dict's initial string buffer size
*
* Depending on the FORTE_STRING_DICT_FIXED_MEMORY flag the string dict will reallocate if necessary.
*/
const TForteUInt32 cgStringDictInitialStringBufSize = ${FORTE_STRINGDICTINITIALSTRINGBUFSIZE};
/*! \brief FORTE string initial size
*
*
*/
const TForteUInt32 cgStringInitialSize = ${FORTE_STRINGINITIALSIZE};
/*! \brief FORTE string dict's initial max nr of strings
*
* Depending on the FORTE_STRING_DICT_FIXED_MEMORY flag the string dict will reallocate if necessary.
*/
const TForteUInt32 cgStringDictInitialMaxNrOfStrings = ${FORTE_STRINGDICTINITIALMAXNROFSTRINGS};
const TForteUInt32 cgNumberOfHandlers = ${FORTE_NUMBER_OF_HANDLERS};
${FORTE_CUSTOM_CONFIGURATIONS}
#endif