Go to the documentation of this file.
43 #if !defined(_CHIBIOS_RT_CONF_)
44 #error "invalid configuration file"
47 #if !defined(_CHIBIOS_RT_CONF_VER_7_0_)
48 #error "obsolete or unknown configuration file"
52 #if !defined(CH_CFG_SMP_MODE)
53 #error "CH_CFG_SMP_MODE not defined in chconf.h"
57 #if !defined(CH_CFG_ST_RESOLUTION)
58 #error "CH_CFG_ST_RESOLUTION not defined in chconf.h"
61 #if !defined(CH_CFG_ST_FREQUENCY)
62 #error "CH_CFG_ST_FREQUENCY not defined in chconf.h"
65 #if !defined(CH_CFG_INTERVALS_SIZE)
66 #error "CH_CFG_INTERVALS_SIZE not defined in chconf.h"
69 #if !defined(CH_CFG_TIME_TYPES_SIZE)
70 #error "CH_CFG_TIME_TYPES_SIZE not defined in chconf.h"
73 #if !defined(CH_CFG_ST_TIMEDELTA)
74 #error "CH_CFG_ST_TIMEDELTA not defined in chconf.h"
78 #if !defined(CH_CFG_TIME_QUANTUM)
79 #error "CH_CFG_TIME_QUANTUM not defined in chconf.h"
82 #if !defined(CH_CFG_MEMCORE_SIZE)
83 #error "CH_CFG_MEMCORE_SIZE not defined in chconf.h"
86 #if !defined(CH_CFG_NO_IDLE_THREAD)
87 #error "CH_CFG_NO_IDLE_THREAD not defined in chconf.h"
91 #if !defined(CH_CFG_OPTIMIZE_SPEED)
92 #error "CH_CFG_OPTIMIZE_SPEED not defined in chconf.h"
96 #if !defined(CH_CFG_USE_TM)
97 #error "CH_CFG_USE_TM not defined in chconf.h"
100 #if !defined(CH_CFG_USE_TIMESTAMP)
101 #error "CH_CFG_USE_TIMESTAMP not defined in chconf.h"
104 #if !defined(CH_CFG_USE_REGISTRY)
105 #error "CH_CFG_USE_REGISTRY not defined in chconf.h"
108 #if !defined(CH_CFG_USE_WAITEXIT)
109 #error "CH_CFG_USE_WAITEXIT not defined in chconf.h"
112 #if !defined(CH_CFG_USE_SEMAPHORES)
113 #error "CH_CFG_USE_SEMAPHORES not defined in chconf.h"
116 #if !defined(CH_CFG_USE_SEMAPHORES_PRIORITY)
117 #error "CH_CFG_USE_SEMAPHORES_PRIORITY not defined in chconf.h"
120 #if !defined(CH_CFG_USE_MUTEXES)
121 #error "CH_CFG_USE_MUTEXES not defined in chconf.h"
124 #if !defined(CH_CFG_USE_MUTEXES_RECURSIVE)
125 #error "CH_CFG_USE_MUTEXES_RECURSIVE not defined in chconf.h"
128 #if !defined(CH_CFG_USE_CONDVARS)
129 #error "CH_CFG_USE_CONDVARS not defined in chconf.h"
132 #if !defined(CH_CFG_USE_CONDVARS_TIMEOUT)
133 #error "CH_CFG_USE_CONDVARS_TIMEOUT not defined in chconf.h"
136 #if !defined(CH_CFG_USE_EVENTS)
137 #error "CH_CFG_USE_EVENTS not defined in chconf.h"
140 #if !defined(CH_CFG_USE_EVENTS_TIMEOUT)
141 #error "CH_CFG_USE_EVENTS_TIMEOUT not defined in chconf.h"
144 #if !defined(CH_CFG_USE_MESSAGES)
145 #error "CH_CFG_USE_MESSAGES not defined in chconf.h"
148 #if !defined(CH_CFG_USE_MESSAGES_PRIORITY)
149 #error "CH_CFG_USE_MESSAGES_PRIORITY not defined in chconf.h"
152 #if !defined(CH_CFG_USE_DYNAMIC)
153 #error "CH_CFG_USE_DYNAMIC not defined in chconf.h"
157 #if !defined(CH_DBG_STATISTICS)
158 #error "CH_DBG_STATISTICS not defined in chconf.h"
161 #if !defined(CH_DBG_SYSTEM_STATE_CHECK)
162 #error "CH_DBG_SYSTEM_STATE_CHECK not defined in chconf.h"
165 #if !defined(CH_DBG_ENABLE_CHECKS)
166 #error "CH_DBG_ENABLE_CHECKS not defined in chconf.h"
169 #if !defined(CH_DBG_ENABLE_ASSERTS)
170 #error "CH_DBG_ENABLE_ASSERTS not defined in chconf.h"
173 #if !defined(CH_DBG_TRACE_MASK)
174 #error "CH_DBG_TRACE_MASK not defined in chconf.h"
177 #if !defined(CH_DBG_TRACE_BUFFER_SIZE)
178 #error "CH_DBG_TRACE_BUFFER_SIZE not defined in chconf.h"
181 #if !defined(CH_DBG_ENABLE_STACK_CHECK)
182 #error "CH_DBG_ENABLE_STACK_CHECK not defined in chconf.h"
185 #if !defined(CH_DBG_FILL_THREADS)
186 #error "CH_DBG_FILL_THREADS not defined in chconf.h"
189 #if !defined(CH_DBG_THREADS_PROFILING)
190 #error "CH_DBG_THREADS_PROFILING not defined in chconf.h"
194 #if !defined(CH_CFG_SYSTEM_EXTRA_FIELDS)
195 #error "CH_CFG_SYSTEM_EXTRA_FIELDS not defined in chconf.h"
198 #if !defined(CH_CFG_SYSTEM_INIT_HOOK)
199 #error "CH_CFG_SYSTEM_INIT_HOOK not defined in chconf.h"
202 #if !defined(CH_CFG_OS_INSTANCE_INIT_HOOK)
203 #error "CH_CFG_OS_INSTANCE_INIT_HOOK not defined in chconf.h"
206 #if !defined(CH_CFG_OS_INSTANCE_EXTRA_FIELDS)
207 #error "CH_CFG_OS_INSTANCE_EXTRA_FIELDS not defined in chconf.h"
210 #if !defined(CH_CFG_THREAD_EXTRA_FIELDS)
211 #error "CH_CFG_THREAD_EXTRA_FIELDS not defined in chconf.h"
214 #if !defined(CH_CFG_THREAD_INIT_HOOK)
215 #error "CH_CFG_THREAD_INIT_HOOK not defined in chconf.h"
218 #if !defined(CH_CFG_THREAD_EXIT_HOOK)
219 #error "CH_CFG_THREAD_EXIT_HOOK not defined in chconf.h"
222 #if !defined(CH_CFG_CONTEXT_SWITCH_HOOK)
223 #error "CH_CFG_CONTEXT_SWITCH_HOOK not defined in chconf.h"
226 #if !defined(CH_CFG_IRQ_PROLOGUE_HOOK)
227 #error "CH_CFG_IRQ_PROLOGUE_HOOK not defined in chconf.h"
230 #if !defined(CH_CFG_IRQ_EPILOGUE_HOOK)
231 #error "CH_CFG_IRQ_EPILOGUE_HOOK not defined in chconf.h"
234 #if !defined(CH_CFG_IDLE_ENTER_HOOK)
235 #error "CH_CFG_IDLE_ENTER_HOOK not defined in chconf.h"
238 #if !defined(CH_CFG_IDLE_LEAVE_HOOK)
239 #error "CH_CFG_IDLE_LEAVE_HOOK not defined in chconf.h"
242 #if !defined(CH_CFG_IDLE_LOOP_HOOK)
243 #error "CH_CFG_IDLE_LOOP_HOOK not defined in chconf.h"
246 #if !defined(CH_CFG_SYSTEM_TICK_HOOK)
247 #error "CH_CFG_SYSTEM_TICK_HOOK not defined in chconf.h"
250 #if !defined(CH_CFG_SYSTEM_HALT_HOOK)
251 #error "CH_CFG_SYSTEM_HALT_HOOK not defined in chconf.h"
254 #if !defined(CH_CFG_TRACE_HOOK)
255 #error "CH_CFG_TRACE_HOOK not defined in chconf.h"
258 #if !defined(CH_CFG_RUNTIME_FAULTS_HOOK)
259 #error "CH_CFG_RUNTIME_FAULTS_HOOK not defined in chconf.h"