Go to the documentation of this file. 37 #if !defined(_CHIBIOS_RT_CONF_) 38 #error "invalid configuration file" 41 #if !defined(_CHIBIOS_RT_CONF_VER_5_1_) 42 #error "obsolete or unknown configuration file" 46 #if !defined(CH_CFG_ST_RESOLUTION) 47 #error "CH_CFG_ST_RESOLUTION not defined in chconf.h" 50 #if !defined(CH_CFG_ST_FREQUENCY) 51 #error "CH_CFG_ST_FREQUENCY not defined in chconf.h" 54 #if !defined(CH_CFG_INTERVALS_SIZE) 55 #error "CH_CFG_INTERVALS_SIZE not defined in chconf.h" 58 #if !defined(CH_CFG_TIME_TYPES_SIZE) 59 #error "CH_CFG_TIME_TYPES_SIZE not defined in chconf.h" 62 #if !defined(CH_CFG_ST_TIMEDELTA) 63 #error "CH_CFG_ST_TIMEDELTA not defined in chconf.h" 67 #if !defined(CH_CFG_TIME_QUANTUM) 68 #error "CH_CFG_TIME_QUANTUM not defined in chconf.h" 71 #if !defined(CH_CFG_MEMCORE_SIZE) 72 #error "CH_CFG_MEMCORE_SIZE not defined in chconf.h" 75 #if !defined(CH_CFG_NO_IDLE_THREAD) 76 #error "CH_CFG_NO_IDLE_THREAD not defined in chconf.h" 80 #if !defined(CH_CFG_OPTIMIZE_SPEED) 81 #error "CH_CFG_OPTIMIZE_SPEED not defined in chconf.h" 85 #if !defined(CH_CFG_USE_TM) 86 #error "CH_CFG_USE_TM not defined in chconf.h" 89 #if !defined(CH_CFG_USE_REGISTRY) 90 #error "CH_CFG_USE_REGISTRY not defined in chconf.h" 93 #if !defined(CH_CFG_USE_WAITEXIT) 94 #error "CH_CFG_USE_WAITEXIT not defined in chconf.h" 97 #if !defined(CH_CFG_USE_SEMAPHORES) 98 #error "CH_CFG_USE_SEMAPHORES not defined in chconf.h" 101 #if !defined(CH_CFG_USE_SEMAPHORES_PRIORITY) 102 #error "CH_CFG_USE_SEMAPHORES_PRIORITY not defined in chconf.h" 105 #if !defined(CH_CFG_USE_MUTEXES) 106 #error "CH_CFG_USE_MUTEXES not defined in chconf.h" 109 #if !defined(CH_CFG_USE_MUTEXES_RECURSIVE) 110 #error "CH_CFG_USE_MUTEXES_RECURSIVE not defined in chconf.h" 113 #if !defined(CH_CFG_USE_CONDVARS) 114 #error "CH_CFG_USE_CONDVARS not defined in chconf.h" 117 #if !defined(CH_CFG_USE_CONDVARS_TIMEOUT) 118 #error "CH_CFG_USE_CONDVARS_TIMEOUT not defined in chconf.h" 121 #if !defined(CH_CFG_USE_EVENTS) 122 #error "CH_CFG_USE_EVENTS not defined in chconf.h" 125 #if !defined(CH_CFG_USE_EVENTS_TIMEOUT) 126 #error "CH_CFG_USE_EVENTS_TIMEOUT not defined in chconf.h" 129 #if !defined(CH_CFG_USE_MESSAGES) 130 #error "CH_CFG_USE_MESSAGES not defined in chconf.h" 133 #if !defined(CH_CFG_USE_MESSAGES_PRIORITY) 134 #error "CH_CFG_USE_MESSAGES_PRIORITY not defined in chconf.h" 137 #if !defined(CH_CFG_USE_MAILBOXES) 138 #error "CH_CFG_USE_MAILBOXES not defined in chconf.h" 141 #if !defined(CH_CFG_USE_MEMCORE) 142 #error "CH_CFG_USE_MEMCORE not defined in chconf.h" 145 #if !defined(CH_CFG_USE_HEAP) 146 #error "CH_CFG_USE_HEAP not defined in chconf.h" 149 #if !defined(CH_CFG_USE_MEMPOOLS) 150 #error "CH_CFG_USE_MEMPOOLS not defined in chconf.h" 153 #if !defined(CH_CFG_USE_OBJ_FIFOS) 154 #error "CH_CFG_USE_OBJ_FIFOS not defined in chconf.h" 157 #if !defined(CH_CFG_USE_DYNAMIC) 158 #error "CH_CFG_USE_DYNAMIC not defined in chconf.h" 162 #if !defined(CH_CFG_USE_FACTORY) 163 #error "CH_CFG_USE_FACTORY not defined in chconf.h" 166 #if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGTH) 167 #error "CH_CFG_FACTORY_MAX_NAMES_LENGTH not defined in chconf.h" 170 #if !defined(CH_CFG_FACTORY_OBJECTS_REGISTRY) 171 #error "CH_CFG_FACTORY_OBJECTS_REGISTRY not defined in chconf.h" 174 #if !defined(CH_CFG_FACTORY_GENERIC_BUFFERS) 175 #error "CH_CFG_FACTORY_GENERIC_BUFFERS not defined in chconf.h" 178 #if !defined(CH_CFG_FACTORY_SEMAPHORES) 179 #error "CH_CFG_FACTORY_SEMAPHORES not defined in chconf.h" 182 #if !defined(CH_CFG_FACTORY_MAILBOXES) 183 #error "CH_CFG_FACTORY_MAILBOXES not defined in chconf.h" 186 #if !defined(CH_CFG_FACTORY_OBJ_FIFOS) 187 #error "CH_CFG_FACTORY_OBJ_FIFOS not defined in chconf.h" 191 #if !defined(CH_DBG_STATISTICS) 192 #error "CH_DBG_STATISTICS not defined in chconf.h" 195 #if !defined(CH_DBG_SYSTEM_STATE_CHECK) 196 #error "CH_DBG_SYSTEM_STATE_CHECK not defined in chconf.h" 199 #if !defined(CH_DBG_ENABLE_CHECKS) 200 #error "CH_DBG_ENABLE_CHECKS not defined in chconf.h" 203 #if !defined(CH_DBG_ENABLE_ASSERTS) 204 #error "CH_DBG_ENABLE_ASSERTS not defined in chconf.h" 207 #if !defined(CH_DBG_TRACE_MASK) 208 #error "CH_DBG_TRACE_MASK not defined in chconf.h" 211 #if !defined(CH_DBG_TRACE_BUFFER_SIZE) 212 #error "CH_DBG_TRACE_BUFFER_SIZE not defined in chconf.h" 215 #if !defined(CH_DBG_ENABLE_STACK_CHECK) 216 #error "CH_DBG_ENABLE_STACK_CHECK not defined in chconf.h" 219 #if !defined(CH_DBG_FILL_THREADS) 220 #error "CH_DBG_FILL_THREADS not defined in chconf.h" 223 #if !defined(CH_DBG_THREADS_PROFILING) 224 #error "CH_DBG_THREADS_PROFILING not defined in chconf.h" 228 #if !defined(CH_CFG_SYSTEM_INIT_HOOK) 229 #error "CH_CFG_SYSTEM_INIT_HOOK not defined in chconf.h" 232 #if !defined(CH_CFG_SYSTEM_EXTRA_FIELDS) 233 #error "CH_CFG_SYSTEM_EXTRA_FIELDS not defined in chconf.h" 236 #if !defined(CH_CFG_THREAD_EXTRA_FIELDS) 237 #error "CH_CFG_THREAD_EXTRA_FIELDS not defined in chconf.h" 240 #if !defined(CH_CFG_THREAD_INIT_HOOK) 241 #error "CH_CFG_THREAD_INIT_HOOK not defined in chconf.h" 244 #if !defined(CH_CFG_THREAD_EXIT_HOOK) 245 #error "CH_CFG_THREAD_EXIT_HOOK not defined in chconf.h" 248 #if !defined(CH_CFG_CONTEXT_SWITCH_HOOK) 249 #error "CH_CFG_CONTEXT_SWITCH_HOOK not defined in chconf.h" 252 #if !defined(CH_CFG_IRQ_PROLOGUE_HOOK) 253 #error "CH_CFG_IRQ_PROLOGUE_HOOK not defined in chconf.h" 256 #if !defined(CH_CFG_IRQ_EPILOGUE_HOOK) 257 #error "CH_CFG_IRQ_EPILOGUE_HOOK not defined in chconf.h" 260 #if !defined(CH_CFG_IDLE_ENTER_HOOK) 261 #error "CH_CFG_IDLE_ENTER_HOOK not defined in chconf.h" 264 #if !defined(CH_CFG_IDLE_LEAVE_HOOK) 265 #error "CH_CFG_IDLE_LEAVE_HOOK not defined in chconf.h" 268 #if !defined(CH_CFG_IDLE_LOOP_HOOK) 269 #error "CH_CFG_IDLE_LOOP_HOOK not defined in chconf.h" 272 #if !defined(CH_CFG_SYSTEM_TICK_HOOK) 273 #error "CH_CFG_SYSTEM_TICK_HOOK not defined in chconf.h" 276 #if !defined(CH_CFG_SYSTEM_HALT_HOOK) 277 #error "CH_CFG_SYSTEM_HALT_HOOK not defined in chconf.h" 280 #if !defined(CH_CFG_TRACE_HOOK) 281 #error "CH_CFG_TRACE_HOOK not defined in chconf.h"