-
Notifications
You must be signed in to change notification settings - Fork 40
/
options.h.in
73 lines (57 loc) · 1.68 KB
/
options.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
/*********************************************************************
* _ _ _
* _ __ | |_ _ | | __ _ | |__ ___
* | '__|| __|(_)| | / _` || '_ \ / __|
* | | | |_ _ | || (_| || |_) |\__ \
* |_| \__|(_)|_| \__,_||_.__/ |___/
*
* www.rt-labs.com
* Copyright 2017 rt-labs AB, Sweden.
*
* This software is dual-licensed under GPLv3 and a commercial
* license. See the file LICENSE.md distributed with this software for
* full license information.
********************************************************************/
#ifndef OPTIONS_H
#define OPTIONS_H
#include "co_options.h"
#ifndef LOG_LEVEL
#define LOG_LEVEL (LOG_LEVEL_@LOG_LEVEL@)
#endif
#ifndef CO_ALLOC_LOG
#define CO_ALLOC_LOG (LOG_STATE_@CO_ALLOC_LOG@)
#endif
#ifndef CO_CAN_LOG
#define CO_CAN_LOG (LOG_STATE_@CO_CAN_LOG@)
#endif
#ifndef CO_SDO_LOG
#define CO_SDO_LOG (LOG_STATE_@CO_SDO_LOG@)
#endif
#ifndef CO_OD_LOG
#define CO_OD_LOG (LOG_STATE_@CO_OD_LOG@)
#endif
#ifndef CO_NMT_LOG
#define CO_NMT_LOG (LOG_STATE_@CO_NMT_LOG@)
#endif
#ifndef CO_EMCY_LOG
#define CO_EMCY_LOG (LOG_STATE_@CO_EMCY_LOG@)
#endif
#ifndef CO_HEARTBEAT_LOG
#define CO_HEARTBEAT_LOG (LOG_STATE_@CO_HEARTBEAT_LOG@)
#endif
#ifndef CO_NODE_GUARD_LOG
#define CO_NODE_GUARD_LOG (LOG_STATE_@CO_NODE_GUARD_LOG@)
#endif
#ifndef CO_LSS_LOG
#define CO_LSS_LOG (LOG_STATE_@CO_LSS_LOG@)
#endif
#ifndef SDO_TIMEOUT
#define SDO_TIMEOUT (@SDO_TIMEOUT@)
#endif
#ifndef CO_THREAD_PRIO
#define CO_THREAD_PRIO (@CO_THREAD_PRIO@)
#endif
#ifndef CO_THREAD_STACK_SIZE
#define CO_THREAD_STACK_SIZE (@CO_THREAD_STACK_SIZE@)
#endif
#endif /* OPTIONS_H */