Go to the documentation of this file. 33 #define _CHIBIOS_RT_CONF_ 46 #ifndef CH_CFG_ST_RESOLUTION 47 #define CH_CFG_ST_RESOLUTION 32 56 #define CH_CFG_ST_FREQUENCY 1000000 66 #define CH_CFG_ST_TIMEDELTA 2 74 #ifndef PORT_INT_REQUIRED_STACK 75 #define PORT_INT_REQUIRED_STACK 256 100 #define CH_CFG_TIME_QUANTUM 0 113 #define CH_CFG_MEMCORE_SIZE 0 122 #define CH_CFG_NO_IDLE_THREAD FALSE 141 #define CH_CFG_OPTIMIZE_SPEED TRUE 159 #define CH_CFG_USE_TM TRUE 167 #define CH_CFG_USE_REGISTRY TRUE 176 #define CH_CFG_USE_WAITEXIT TRUE 184 #define CH_CFG_USE_SEMAPHORES TRUE 195 #define CH_CFG_USE_SEMAPHORES_PRIORITY FALSE 203 #define CH_CFG_USE_MUTEXES TRUE 213 #define CH_CFG_USE_MUTEXES_RECURSIVE FALSE 223 #define CH_CFG_USE_CONDVARS TRUE 233 #define CH_CFG_USE_CONDVARS_TIMEOUT TRUE 241 #define CH_CFG_USE_EVENTS TRUE 251 #define CH_CFG_USE_EVENTS_TIMEOUT TRUE 260 #define CH_CFG_USE_MESSAGES TRUE 271 #define CH_CFG_USE_MESSAGES_PRIORITY FALSE 281 #define CH_CFG_USE_MAILBOXES TRUE 290 #define CH_CFG_USE_MEMCORE TRUE 302 #define CH_CFG_USE_HEAP TRUE 311 #define CH_CFG_USE_MEMPOOLS TRUE 322 #define CH_CFG_USE_DYNAMIC TRUE 338 #define CH_DBG_STATISTICS TRUE 347 #ifndef CH_DBG_SYSTEM_STATE_CHECK 348 #define CH_DBG_SYSTEM_STATE_CHECK FALSE 358 #ifndef CH_DBG_ENABLE_CHECKS 359 #define CH_DBG_ENABLE_CHECKS FALSE 371 #ifndef CH_DBG_ENABLE_ASSERTS 372 #define CH_DBG_ENABLE_ASSERTS FALSE 381 #define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED 388 #define CH_DBG_TRACE_BUFFER_SIZE 128 400 #ifndef CH_DBG_ENABLE_STACK_CHECK 401 #define CH_DBG_ENABLE_STACK_CHECK FALSE 412 #define CH_DBG_FILL_THREADS TRUE 423 #define CH_DBG_THREADS_PROFILING FALSE 438 #define CH_CFG_THREAD_EXTRA_FIELDS \ 448 #define CH_CFG_THREAD_INIT_HOOK(tp) { \ 456 #define CH_CFG_THREAD_EXIT_HOOK(tp) { \ 464 #define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp) { \ 471 #define CH_CFG_IRQ_PROLOGUE_HOOK() { \ 478 #define CH_CFG_IRQ_EPILOGUE_HOOK() { \ 488 #define CH_CFG_IDLE_ENTER_HOOK() { \ 498 #define CH_CFG_IDLE_LEAVE_HOOK() { \ 506 #define CH_CFG_IDLE_LOOP_HOOK() { \ 515 #define CH_CFG_SYSTEM_TICK_HOOK() { \ 525 #define CH_CFG_SYSTEM_HALT_HOOK(reason) do { \ 526 extern int printf(const char *fmt, ...); \ 535 #define CH_CFG_TRACE_HOOK(tep) { \