Go to the documentation of this file. 31 #define _CHIBIOS_RT_CONF_ 32 #define _CHIBIOS_RT_CONF_VER_6_0_ 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 380 #if !defined(CH_CFG_USE_PIPES) 381 #define CH_CFG_USE_PIPES TRUE 393 #if !defined(CH_CFG_USE_DYNAMIC) 394 #define CH_CFG_USE_DYNAMIC TRUE 413 #if !defined(CH_CFG_USE_FACTORY) 414 #define CH_CFG_USE_FACTORY TRUE 422 #if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGTH) 423 #define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8 429 #if !defined(CH_CFG_FACTORY_OBJECTS_REGISTRY) 430 #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE 436 #if !defined(CH_CFG_FACTORY_GENERIC_BUFFERS) 437 #define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE 443 #if !defined(CH_CFG_FACTORY_SEMAPHORES) 444 #define CH_CFG_FACTORY_SEMAPHORES TRUE 450 #if !defined(CH_CFG_FACTORY_MAILBOXES) 451 #define CH_CFG_FACTORY_MAILBOXES TRUE 457 #if !defined(CH_CFG_FACTORY_OBJ_FIFOS) 458 #define CH_CFG_FACTORY_OBJ_FIFOS TRUE 464 #if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__) 465 #define CH_CFG_FACTORY_PIPES TRUE 482 #if !defined(CH_DBG_STATISTICS) 483 #define CH_DBG_STATISTICS FALSE 493 #if !defined(CH_DBG_SYSTEM_STATE_CHECK) 494 #define CH_DBG_SYSTEM_STATE_CHECK TRUE 504 #if !defined(CH_DBG_ENABLE_CHECKS) 505 #define CH_DBG_ENABLE_CHECKS TRUE 516 #if !defined(CH_DBG_ENABLE_ASSERTS) 517 #define CH_DBG_ENABLE_ASSERTS TRUE 526 #if !defined(CH_DBG_TRACE_MASK) 527 #define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_ALL 535 #if !defined(CH_DBG_TRACE_BUFFER_SIZE) 536 #define CH_DBG_TRACE_BUFFER_SIZE 128 549 #if !defined(CH_DBG_ENABLE_STACK_CHECK) 550 #define CH_DBG_ENABLE_STACK_CHECK TRUE 561 #if !defined(CH_DBG_FILL_THREADS) 562 #define CH_DBG_FILL_THREADS TRUE 574 #if !defined(CH_DBG_THREADS_PROFILING) 575 #define CH_DBG_THREADS_PROFILING FALSE 591 #define CH_CFG_SYSTEM_EXTRA_FIELDS \ 599 #define CH_CFG_SYSTEM_INIT_HOOK() { \ 607 #define CH_CFG_THREAD_EXTRA_FIELDS \ 617 #define CH_CFG_THREAD_INIT_HOOK(tp) { \ 625 #define CH_CFG_THREAD_EXIT_HOOK(tp) { \ 633 #define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp) { \ 640 #define CH_CFG_IRQ_PROLOGUE_HOOK() { \ 647 #define CH_CFG_IRQ_EPILOGUE_HOOK() { \ 657 #define CH_CFG_IDLE_ENTER_HOOK() { \ 667 #define CH_CFG_IDLE_LEAVE_HOOK() { \ 675 #define CH_CFG_IDLE_LOOP_HOOK() { \ 684 #define CH_CFG_SYSTEM_TICK_HOOK() { \ 693 #define CH_CFG_SYSTEM_HALT_HOOK(reason) { \ 702 #define CH_CFG_TRACE_HOOK(tep) { \