Revision 7de0cc90 modules/DiWheelDrive_1-1/aosconf.h
modules/DiWheelDrive_1-1/aosconf.h | ||
---|---|---|
42 | 42 |
*/ |
43 | 43 |
#if defined(AMIRO_APPS) && (AMIRO_APPS == true) |
44 | 44 |
#include <osconf.h> |
45 |
#endif |
|
45 |
#endif /* defined(AMIRO_APPS) && (AMIRO_APPS == true) */
|
|
46 | 46 |
|
47 | 47 |
/*===========================================================================*/ |
48 | 48 |
/** |
... | ... | |
56 | 56 |
*/ |
57 | 57 |
#if !defined(OS_CFG_DBG) |
58 | 58 |
#define AMIROOS_CFG_DBG true |
59 |
#else |
|
59 |
#else /* !defined(OS_CFG_DBG) */
|
|
60 | 60 |
#define AMIROOS_CFG_DBG OS_CFG_DBG |
61 |
#endif |
|
61 |
#endif /* !defined(OS_CFG_DBG) */
|
|
62 | 62 |
|
63 | 63 |
/** |
64 | 64 |
* @brief Flag to enable/disable unit tests. |
... | ... | |
66 | 66 |
*/ |
67 | 67 |
#if !defined(OS_CFG_TESTS_ENABLE) |
68 | 68 |
#define AMIROOS_CFG_TESTS_ENABLE true |
69 |
#else |
|
69 |
#else /* !defined(OS_CFG_TESTS_ENABLE) */
|
|
70 | 70 |
#define AMIROOS_CFG_TESTS_ENABLE OS_CFG_TESTS_ENABLE |
71 |
#endif |
|
71 |
#endif /* !defined(OS_CFG_TESTS_ENABLE) */
|
|
72 | 72 |
|
73 | 73 |
/** |
74 | 74 |
* @brief Flag to enable/disable profiling API and logic. |
75 | 75 |
*/ |
76 | 76 |
#if !defined(OS_CFG_PROFILE) |
77 | 77 |
#define AMIROOS_CFG_PROFILE true |
78 |
#else |
|
78 |
#else /* !defined(OS_CFG_PROFILE) */
|
|
79 | 79 |
#define AMIROOS_CFG_PROFILE OS_CFG_PROFILE |
80 |
#endif |
|
80 |
#endif /* !defined(OS_CFG_PROFILE) */
|
|
81 | 81 |
|
82 | 82 |
/** |
83 | 83 |
* @brief Mask for the control thread to listen to certain IO events. |
... | ... | |
85 | 85 |
*/ |
86 | 86 |
#if !defined(OS_CFG_MAIN_LOOP_IOEVENT_MASK) |
87 | 87 |
#define AMIROOS_CFG_MAIN_LOOP_IOEVENT_MASK 0 |
88 |
#else |
|
88 |
#else /* !defined(OS_CFG_MAIN_LOOP_IOEVENT_MASK) */
|
|
89 | 89 |
#define AMIROOS_CFG_MAIN_LOOP_IOEVENT_MASK OS_CFG_MAIN_LOOP_IOEVENT_MASK |
90 |
#endif |
|
90 |
#endif /* !defined(OS_CFG_MAIN_LOOP_IOEVENT_MASK) */
|
|
91 | 91 |
|
92 | 92 |
/** |
93 | 93 |
* @brief Timeout value when waiting for events in the main loop in microseconds. |
... | ... | |
95 | 95 |
*/ |
96 | 96 |
#if !defined(OS_CFG_MAIN_LOOP_TIMEOUT) |
97 | 97 |
#define AMIROOS_CFG_MAIN_LOOP_TIMEOUT 0 |
98 |
#else |
|
98 |
#else /* !defined(OS_CFG_MAIN_LOOP_TIMEOUT) */
|
|
99 | 99 |
#define AMIROOS_CFG_MAIN_LOOP_TIMEOUT OS_CFG_MAIN_LOOP_TIMEOUT |
100 |
#endif |
|
100 |
#endif /* !defined(OS_CFG_MAIN_LOOP_TIMEOUT) */
|
|
101 | 101 |
|
102 | 102 |
/** @} */ |
103 | 103 |
|
... | ... | |
113 | 113 |
*/ |
114 | 114 |
#if !defined(OS_CFG_SSSP_ENABLE) |
115 | 115 |
#define AMIROOS_CFG_SSSP_ENABLE true |
116 |
#else |
|
116 |
#else /* !defined(OS_CFG_SSSP_ENABLE) */
|
|
117 | 117 |
#define AMIROOS_CFG_SSSP_ENABLE OS_CFG_SSSP_ENABLE |
118 |
#endif |
|
118 |
#endif /* !defined(OS_CFG_SSSP_ENABLE) */
|
|
119 | 119 |
|
120 | 120 |
/** |
121 | 121 |
* @brief Flag to set the module as SSSP master. |
... | ... | |
123 | 123 |
*/ |
124 | 124 |
#if !defined(OS_CFG_SSSP_MASTER) |
125 | 125 |
#define AMIROOS_CFG_SSSP_MASTER false |
126 |
#else |
|
126 |
#else /* !defined(OS_CFG_SSSP_MASTER) */
|
|
127 | 127 |
#define AMIROOS_CFG_SSSP_MASTER OS_CFG_SSSP_MASTER |
128 |
#endif |
|
128 |
#endif /* !defined(OS_CFG_SSSP_MASTER) */
|
|
129 | 129 |
|
130 | 130 |
/** |
131 | 131 |
* @brief Flag to set the module to be the first in the stack. |
... | ... | |
133 | 133 |
*/ |
134 | 134 |
#if !defined(OS_CFG_SSSP_STACK_START) |
135 | 135 |
#define AMIROOS_CFG_SSSP_STACK_START true |
136 |
#else |
|
136 |
#else /* !defined(OS_CFG_SSSP_STACK_START) */
|
|
137 | 137 |
#define AMIROOS_CFG_SSSP_STACK_START OS_CFG_SSSP_STACK_START |
138 |
#endif |
|
138 |
#endif /* !defined(OS_CFG_SSSP_STACK_START) */
|
|
139 | 139 |
|
140 | 140 |
/** |
141 | 141 |
* @brief Flag to set the module to be the last in the stack. |
... | ... | |
143 | 143 |
*/ |
144 | 144 |
#if !defined(OS_CFG_SSSP_STACK_END) |
145 | 145 |
#define AMIROOS_CFG_SSSP_STACK_END false |
146 |
#else |
|
146 |
#else /* !defined(OS_CFG_SSSP_STACK_END) */
|
|
147 | 147 |
#define AMIROOS_CFG_SSSP_STACK_END OS_CFG_SSSP_STACK_END |
148 |
#endif |
|
148 |
#endif /* !defined(OS_CFG_SSSP_STACK_END) */
|
|
149 | 149 |
|
150 | 150 |
/** |
151 | 151 |
* @brief Delay time (in microseconds) how long a SSSP signal must be active. |
152 | 152 |
*/ |
153 | 153 |
#if !defined(OS_CFG_SSSP_SIGNALDELAY) |
154 | 154 |
#define AMIROOS_CFG_SSSP_SIGNALDELAY 1000 |
155 |
#else |
|
155 |
#else /* !defined(OS_CFG_SSSP_SIGNALDELAY) */
|
|
156 | 156 |
#define AMIROOS_CFG_SSSP_SIGNALDELAY OS_CFG_SSSP_SIGNALDELAY |
157 |
#endif |
|
157 |
#endif /* !defined(OS_CFG_SSSP_SIGNALDELAY) */
|
|
158 | 158 |
|
159 | 159 |
/** |
160 | 160 |
* @brief Time boundary for robot wide clock synchronization in microseconds. |
... | ... | |
163 | 163 |
*/ |
164 | 164 |
#if !defined(OS_CFG_SSSP_SYSSYNCPERIOD) |
165 | 165 |
#define AMIROOS_CFG_SSSP_SYSSYNCPERIOD 1000000 |
166 |
#else |
|
166 |
#else /* !defined(OS_CFG_SSSP_SYSSYNCPERIOD) */
|
|
167 | 167 |
#define AMIROOS_CFG_SSSP_SYSSYNCPERIOD OS_CFG_SSSP_SYSSYNCPERIOD |
168 |
#endif |
|
168 |
#endif /* !defined(OS_CFG_SSSP_SYSSYNCPERIOD) */
|
|
169 | 169 |
|
170 | 170 |
/** @} */ |
171 | 171 |
|
... | ... | |
181 | 181 |
*/ |
182 | 182 |
#if !defined(OS_CFG_SHELL_ENABLE) |
183 | 183 |
#define AMIROOS_CFG_SHELL_ENABLE true |
184 |
#else |
|
184 |
#else /* !defined(OS_CFG_SHELL_ENABLE) */
|
|
185 | 185 |
#define AMIROOS_CFG_SHELL_ENABLE OS_CFG_SHELL_ENABLE |
186 |
#endif |
|
186 |
#endif /* !defined(OS_CFG_SHELL_ENABLE) */
|
|
187 | 187 |
|
188 | 188 |
/** |
189 | 189 |
* @brief Shell thread stack size. |
190 | 190 |
*/ |
191 | 191 |
#if !defined(OS_CFG_SHELL_STACKSIZE) |
192 | 192 |
#define AMIROOS_CFG_SHELL_STACKSIZE 1024 |
193 |
#else |
|
193 |
#else /* !defined(OS_CFG_SHELL_STACKSIZE) */
|
|
194 | 194 |
#define AMIROOS_CFG_SHELL_STACKSIZE OS_CFG_SHELL_STACKSIZE |
195 |
#endif |
|
195 |
#endif /* !defined(OS_CFG_SHELL_STACKSIZE) */
|
|
196 | 196 |
|
197 | 197 |
/** |
198 | 198 |
* @brief Shell thread priority. |
... | ... | |
213 | 213 |
*/ |
214 | 214 |
#if !defined(OS_CFG_SHELL_THREADPRIO) |
215 | 215 |
#define AMIROOS_CFG_SHELL_THREADPRIO AOS_THD_NORMALPRIO_MIN |
216 |
#else |
|
216 |
#else /* !defined(OS_CFG_SHELL_THREADPRIO) */
|
|
217 | 217 |
#define AMIROOS_CFG_SHELL_THREADPRIO OS_CFG_SHELL_THREADPRIO |
218 |
#endif |
|
218 |
#endif /* !defined(OS_CFG_SHELL_THREADPRIO) */
|
|
219 | 219 |
|
220 | 220 |
/** |
221 | 221 |
* @brief Shell maximum input line length. |
222 | 222 |
*/ |
223 | 223 |
#if !defined(OS_CFG_SHELL_LINEWIDTH) |
224 | 224 |
#define AMIROOS_CFG_SHELL_LINEWIDTH 64 |
225 |
#else |
|
225 |
#else /* !defined(OS_CFG_SHELL_LINEWIDTH) */
|
|
226 | 226 |
#define AMIROOS_CFG_SHELL_LINEWIDTH OS_CFG_SHELL_LINEWIDTH |
227 |
#endif |
|
227 |
#endif /* !defined(OS_CFG_SHELL_LINEWIDTH) */
|
|
228 | 228 |
|
229 | 229 |
/** |
230 | 230 |
* @brief Shell maximum number of arguments. |
231 | 231 |
*/ |
232 | 232 |
#if !defined(OS_CFG_SHELL_MAXARGS) |
233 | 233 |
#define AMIROOS_CFG_SHELL_MAXARGS 4 |
234 |
#else |
|
234 |
#else /* !defined(OS_CFG_SHELL_MAXARGS) */
|
|
235 | 235 |
#define AMIROOS_CFG_SHELL_MAXARGS OS_CFG_SHELL_MAXARGS |
236 |
#endif |
|
236 |
#endif /* !defined(OS_CFG_SHELL_MAXARGS) */
|
|
237 | 237 |
|
238 | 238 |
/** @} */ |
239 | 239 |
|
Also available in: Unified diff