Go to the documentation of this file. 31 #define _CHIBIOS_RT_CONF_ 32 #define _CHIBIOS_RT_CONF_VER_5_1_ 45 #if !defined(CH_CFG_ST_RESOLUTION) 46 #define CH_CFG_ST_RESOLUTION 32 54 #if !defined(CH_CFG_ST_FREQUENCY) 55 #define CH_CFG_ST_FREQUENCY 10000 62 #if !defined(CH_CFG_INTERVALS_SIZE) 63 #define CH_CFG_INTERVALS_SIZE 32 70 #if !defined(CH_CFG_TIME_TYPES_SIZE) 71 #define CH_CFG_TIME_TYPES_SIZE 32 82 #if !defined(CH_CFG_ST_TIMEDELTA) 83 #define CH_CFG_ST_TIMEDELTA 2 107 #if !defined(CH_CFG_TIME_QUANTUM) 108 #define CH_CFG_TIME_QUANTUM 0 122 #if !defined(CH_CFG_MEMCORE_SIZE) 123 #define CH_CFG_MEMCORE_SIZE 0 133 #if !defined(CH_CFG_NO_IDLE_THREAD) 134 #define CH_CFG_NO_IDLE_THREAD FALSE 154 #if !defined(CH_CFG_OPTIMIZE_SPEED) 155 #define CH_CFG_OPTIMIZE_SPEED TRUE 174 #if !defined(CH_CFG_USE_TM) 175 #define CH_CFG_USE_TM TRUE 184 #if !defined(CH_CFG_USE_REGISTRY) 185 #define CH_CFG_USE_REGISTRY TRUE 195 #if !defined(CH_CFG_USE_WAITEXIT) 196 #define CH_CFG_USE_WAITEXIT TRUE 205 #if !defined(CH_CFG_USE_SEMAPHORES) 206 #define CH_CFG_USE_SEMAPHORES TRUE 218 #if !defined(CH_CFG_USE_SEMAPHORES_PRIORITY) 219 #define CH_CFG_USE_SEMAPHORES_PRIORITY FALSE 228 #if !defined(CH_CFG_USE_MUTEXES) 229 #define CH_CFG_USE_MUTEXES TRUE 240 #if !defined(CH_CFG_USE_MUTEXES_RECURSIVE) 241 #define CH_CFG_USE_MUTEXES_RECURSIVE FALSE 252 #if !defined(CH_CFG_USE_CONDVARS) 253 #define CH_CFG_USE_CONDVARS TRUE 264 #if !defined(CH_CFG_USE_CONDVARS_TIMEOUT) 265 #define CH_CFG_USE_CONDVARS_TIMEOUT TRUE 274 #if !defined(CH_CFG_USE_EVENTS) 275 #define CH_CFG_USE_EVENTS TRUE 286 #if !defined(CH_CFG_USE_EVENTS_TIMEOUT) 287 #define CH_CFG_USE_EVENTS_TIMEOUT TRUE 297 #if !defined(CH_CFG_USE_MESSAGES) 298 #define CH_CFG_USE_MESSAGES TRUE 310 #if !defined(CH_CFG_USE_MESSAGES_PRIORITY) 311 #define CH_CFG_USE_MESSAGES_PRIORITY FALSE 322 #if !defined(CH_CFG_USE_MAILBOXES) 323 #define CH_CFG_USE_MAILBOXES TRUE 333 #if !defined(CH_CFG_USE_MEMCORE) 334 #define CH_CFG_USE_MEMCORE TRUE 347 #if !defined(CH_CFG_USE_HEAP) 348 #define CH_CFG_USE_HEAP TRUE 358 #if !defined(CH_CFG_USE_MEMPOOLS) 359 #define CH_CFG_USE_MEMPOOLS TRUE 369 #if !defined(CH_CFG_USE_OBJ_FIFOS) 370 #define CH_CFG_USE_OBJ_FIFOS TRUE 382 #if !defined(CH_CFG_USE_DYNAMIC) 383 #define CH_CFG_USE_DYNAMIC TRUE 402 #if !defined(CH_CFG_USE_FACTORY) 403 #define CH_CFG_USE_FACTORY TRUE 411 #if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGTH) 412 #define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8 418 #if !defined(CH_CFG_FACTORY_OBJECTS_REGISTRY) 419 #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE 425 #if !defined(CH_CFG_FACTORY_GENERIC_BUFFERS) 426 #define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE 432 #if !defined(CH_CFG_FACTORY_SEMAPHORES) 433 #define CH_CFG_FACTORY_SEMAPHORES TRUE 439 #if !defined(CH_CFG_FACTORY_MAILBOXES) 440 #define CH_CFG_FACTORY_MAILBOXES TRUE 446 #if !defined(CH_CFG_FACTORY_OBJ_FIFOS) 447 #define CH_CFG_FACTORY_OBJ_FIFOS TRUE 464 #if !defined(CH_DBG_STATISTICS) 465 #define CH_DBG_STATISTICS FALSE 475 #if !defined(CH_DBG_SYSTEM_STATE_CHECK) 476 #define CH_DBG_SYSTEM_STATE_CHECK TRUE 486 #if !defined(CH_DBG_ENABLE_CHECKS) 487 #define CH_DBG_ENABLE_CHECKS TRUE 498 #if !defined(CH_DBG_ENABLE_ASSERTS) 499 #define CH_DBG_ENABLE_ASSERTS TRUE 508 #if !defined(CH_DBG_TRACE_MASK) 509 #define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_ALL 517 #if !defined(CH_DBG_TRACE_BUFFER_SIZE) 518 #define CH_DBG_TRACE_BUFFER_SIZE 128 531 #if !defined(CH_DBG_ENABLE_STACK_CHECK) 532 #define CH_DBG_ENABLE_STACK_CHECK TRUE 543 #if !defined(CH_DBG_FILL_THREADS) 544 #define CH_DBG_FILL_THREADS TRUE 556 #if !defined(CH_DBG_THREADS_PROFILING) 557 #define CH_DBG_THREADS_PROFILING FALSE 573 #define CH_CFG_SYSTEM_EXTRA_FIELDS \ 581 #define CH_CFG_SYSTEM_INIT_HOOK() { \ 589 #define CH_CFG_THREAD_EXTRA_FIELDS \ 599 #define CH_CFG_THREAD_INIT_HOOK(tp) { \ 607 #define CH_CFG_THREAD_EXIT_HOOK(tp) { \ 615 #define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp) { \ 622 #define CH_CFG_IRQ_PROLOGUE_HOOK() { \ 629 #define CH_CFG_IRQ_EPILOGUE_HOOK() { \ 639 #define CH_CFG_IDLE_ENTER_HOOK() { \ 649 #define CH_CFG_IDLE_LEAVE_HOOK() { \ 657 #define CH_CFG_IDLE_LOOP_HOOK() { \ 666 #define CH_CFG_SYSTEM_TICK_HOOK() { \ 675 #define CH_CFG_SYSTEM_HALT_HOOK(reason) { \ 684 #define CH_CFG_TRACE_HOOK(tep) { \