sbgECom Library  4.0.1987-stable
C library to interface SBG Systems IMU/AHRS/INS
sbgCommon.h
Go to the documentation of this file.
1 
38 #ifndef SBG_COMMON_H
39 #define SBG_COMMON_H
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
45 #include "sbgConfig.h"
46 
47 //----------------------------------------------------------------------//
48 //- Default configuration -//
49 //----------------------------------------------------------------------//
50 
56 #ifndef SBG_CONFIG_UNALIGNED_ACCESS_AUTH
57 #define SBG_CONFIG_UNALIGNED_ACCESS_AUTH (0)
58 #endif
59 
65 #ifndef SBG_CONFIG_BIG_ENDIAN
66 #define SBG_CONFIG_BIG_ENDIAN (0)
67 #endif
68 
73 #ifndef SBG_CONFIG_ENABLE_LOG_ERROR
74 #define SBG_CONFIG_ENABLE_LOG_ERROR (1)
75 #endif
76 
81 #ifndef SBG_CONFIG_ENABLE_LOG_WARNING
82 #define SBG_CONFIG_ENABLE_LOG_WARNING (1)
83 #endif
84 
89 #ifndef SBG_CONFIG_ENABLE_LOG_INFO
90 #define SBG_CONFIG_ENABLE_LOG_INFO (1)
91 #endif
92 
97 #ifndef SBG_CONFIG_ENABLE_LOG_DEBUG
98 #define SBG_CONFIG_ENABLE_LOG_DEBUG (1)
99 #endif
100 
105 #ifndef SBG_CONFIG_LOG_MAX_SIZE
106 #define SBG_CONFIG_LOG_MAX_SIZE ((size_t)(1024))
107 #endif
108 
113 #ifndef SBG_CONFIG_PATH_MAX_SIZE
114 #define SBG_CONFIG_PATH_MAX_SIZE ((size_t)(256))
115 #endif
116 
117 //----------------------------------------------------------------------//
118 //- Headers -//
119 //----------------------------------------------------------------------//
120 
121 #include "sbgDefines.h"
122 #include "sbgErrorCodes.h"
123 #include "sbgTypes.h"
124 
125 #include "debug/sbgDebug.h"
126 #include "platform/sbgPlatform.h"
127 
128 
129 #ifdef __cplusplus
130 }
131 #endif
132 
133 #endif // SBG_COMMON_H
Header file used to configure the framework.
Define and handle error logging for the SBG Systems common C library.
Header file that contains all common definitions.
Header file that defines all error codes for SBG Systems libraries.
Platform-specific functions.
Header file that defines all scalar types.