Statistics
| Branch: | Revision:

urtware / templates / urtwareconf.h @ 03ed5026

History | View | Annotate | Download (3.143 KB)

1
/*
2
µRtWare is a lightweight publish/subscribe middleware for real-time
3
applications. It was developed as part of the software habitat for the
4
Autonomous Mini Robot [1] (AMiRo) but can be used for other purposes as well.
5

6
Copyright (C) 2018..2020  Thomas Schöpping et al.
7

8
This program is free software: you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation, either version 3 of the License, or
11
(at your option) any later version.
12

13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
GNU General Public License for more details.
17

18
You should have received a copy of the GNU General Public License
19
along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
*/
21

    
22
#ifndef URTWARECONF_H
23
#define URTWARECONF_H
24

    
25
#define _URTWARE_CFG_
26
#define URTWARE_CFG_VERSION_MAJOR               0
27
#define URTWARE_CFG_VERSION_MINOR               1
28

    
29
/**
30
 * @brief   Width of the urt_delay_t data type.
31
 *
32
 * @details Possible values are 32 and 64 bits.
33
 *          By definition time is represented in microseconds.
34
 */
35
#define URT_CFG_DELAY_WIDTH                     32
36

    
37
/**
38
 * @brief   Width of the urt_nodestage_t data type.
39
 *
40
 * @details Possible values are 8, 16, 32, and 64 bits.
41
 */
42
#define URT_CFG_NODESTAGE_WIDTH                 16
43

    
44
/**
45
 * @brief   Debug enable flag.
46
 */
47
#define URT_CFG_DEBUG_ENABLED                   true
48

    
49
/**
50
 * @brief   Enable flag for the publish-subscribe system.
51
 */
52
#define URT_CFG_PUBSUB_ENABLED                  true
53

    
54
/**
55
 * @brief   Width of the urt_topicid_t data type.
56
 *
57
 * @details Possible values are 8, 16, 32, and 64 bits.
58
 */
59
#define URT_CFG_PUBSUB_TOPICID_WIDTH            16
60

    
61
/**
62
 * @brief   Flag to enable profiling of the publish-subscribe system.
63
 */
64
#define URT_CFG_PUBSUB_PROFILING                true
65

    
66
/**
67
 * @brief   Flag to enable deadline QoS for the publish-subscribe system.
68
 */
69
#define URT_CFG_PUBSUB_QOS_DEADLINECHECKS       true
70

    
71
/**
72
 * @brief   Flag to enable rate QoS for the publish-subscribe system.
73
 */
74
#define URT_CFG_PUBSUB_QOS_RATECHECKS           true
75

    
76
/**
77
 * @brief   Flag to enable jitter QoS for the publish-subscribe system
78
 */
79
#define URT_CFG_PUBSUB_QOS_JITTERCHECKS         true
80

    
81
/**
82
 * @brief   Enable flag for remote procedure calls.
83
 */
84
#define URT_CFG_RPC_ENABLED                     true
85

    
86
/**
87
 * @brief   Width of the urt_serviceid_t data type.
88
 *
89
 * @details Possible values are 8, 16, 32, and 64 bits.
90
 */
91
#define URT_CFG_RPC_SERVICEID_WIDTH             16
92

    
93
/**
94
 * @brief   Flag to enable profiling of remote procedure calls.
95
 */
96
#define URT_CFG_RPC_PROFILING                   true
97

    
98
/**
99
 * @brief   Flag to enable deadline QoS for remote procedure calls.
100
 */
101
#define URT_CFG_RPC_QOS_DEADLINECHECKS          true
102

    
103
/**
104
 * @brief   Flag to enable jitter QoS for remote procedure calls.
105
 */
106
#define URT_CFG_RPC_QOS_JITTERCHECKS            true
107

    
108
/**
109
 * @brief   Hook macro to insert a custom header to urt_osal.h file.
110
 */
111
#define URT_CFG_OSAL_HEADER                     <custom_urtosal.h>
112

    
113
#endif /* HELLOWORLD_URTWARECONF_H */