sbgCommon.h
Go to the documentation of this file.
1 
26 #ifndef SBG_COMMON_H
27 #define SBG_COMMON_H
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 //----------------------------------------------------------------------//
34 //- Include user defined configuration -//
35 //----------------------------------------------------------------------//
36 #include "sbgConfig.h"
37 
38 //----------------------------------------------------------------------//
39 //- Platform default configuration -//
40 //----------------------------------------------------------------------//
41 
47 #ifndef SBG_CONFIG_UNALIGNED_ACCESS_AUTH
48  #define SBG_CONFIG_UNALIGNED_ACCESS_AUTH (0)
49 #endif
50 
56 #ifndef SBG_CONFIG_BIG_ENDIAN
57  #define SBG_CONFIG_BIG_ENDIAN (0)
58 #endif
59 
60 //----------------------------------------------------------------------//
61 //- Logging default configuration -//
62 //----------------------------------------------------------------------//
63 
68 #ifndef SBG_CONFIG_ENABLE_LOG_ERROR
69  #define SBG_CONFIG_ENABLE_LOG_ERROR (1)
70 #endif
71 
76 #ifndef SBG_CONFIG_ENABLE_LOG_WARNING
77  #define SBG_CONFIG_ENABLE_LOG_WARNING (1)
78 #endif
79 
84 #ifndef SBG_CONFIG_ENABLE_LOG_INFO
85  #define SBG_CONFIG_ENABLE_LOG_INFO (1)
86 #endif
87 
92 #ifndef SBG_CONFIG_ENABLE_LOG_DEBUG
93  #define SBG_CONFIG_ENABLE_LOG_DEBUG (1)
94 #endif
95 
100 #ifndef SBG_CONFIG_LOG_MAX_SIZE
101  #define SBG_CONFIG_LOG_MAX_SIZE (size_t)(1024)
102 #endif
103 
104 //----------------------------------------------------------------------//
105 //- File system default configuration -//
106 //----------------------------------------------------------------------//
107 
112 #ifndef SBG_CONFIG_PATH_MAX_SIZE
113  #define SBG_CONFIG_PATH_MAX_SIZE (size_t)(256)
114 #endif
115 
116 //----------------------------------------------------------------------//
117 //- Include core headers -//
118 //----------------------------------------------------------------------//
119 #include "sbgTypes.h"
120 #include "sbgErrorCodes.h"
121 #include "sbgDefines.h"
122 #include "sbgDebug.h"
123 #include "sbgPlatform.h"
124 
125 //----------------------------------------------------------------------//
126 //- Footer (close extern C block) -//
127 //----------------------------------------------------------------------//
128 #ifdef __cplusplus
129 }
130 #endif
131 
132 #endif /* SBG_COMMON_H */
Header file that defines all error codes for SBG Systems libraries.
Header file that contains all platform specific definitions.
Define and handle error logging for the SBG Systems common C library.
Header file used to configure the framework.
Header file that defines all scalar types.
Header file that contains all common definitions.


sbg_driver
Author(s): SBG Systems
autogenerated on Sat Sep 3 2022 02:53:35