|
ChibiOS/RT
2.5.1 |
Configuration file template.
A copy of this file must be placed in each project directory, it contains the application specific kernel settings.
Definition in file chconf.h.
Go to the source code of this file.
Defines | |
Kernel parameters and options | |
| #define | CH_FREQUENCY 1000 |
| System tick frequency. | |
| #define | CH_TIME_QUANTUM 20 |
| Round robin interval. | |
| #define | CH_MEMCORE_SIZE 0 |
| Managed RAM size. | |
| #define | CH_NO_IDLE_THREAD FALSE |
| Idle thread automatic spawn suppression. | |
Performance options | |
| #define | CH_OPTIMIZE_SPEED TRUE |
| OS optimization. | |
Subsystem options | |
| #define | CH_USE_REGISTRY TRUE |
| Threads registry APIs. | |
| #define | CH_USE_WAITEXIT TRUE |
| Threads synchronization APIs. | |
| #define | CH_USE_SEMAPHORES TRUE |
| Semaphores APIs. | |
| #define | CH_USE_SEMAPHORES_PRIORITY FALSE |
| Semaphores queuing mode. | |
| #define | CH_USE_SEMSW TRUE |
| Atomic semaphore API. | |
| #define | CH_USE_MUTEXES TRUE |
| Mutexes APIs. | |
| #define | CH_USE_CONDVARS TRUE |
| Conditional Variables APIs. | |
| #define | CH_USE_CONDVARS_TIMEOUT TRUE |
| Conditional Variables APIs with timeout. | |
| #define | CH_USE_EVENTS TRUE |
| Events Flags APIs. | |
| #define | CH_USE_EVENTS_TIMEOUT TRUE |
| Events Flags APIs with timeout. | |
| #define | CH_USE_MESSAGES TRUE |
| Synchronous Messages APIs. | |
| #define | CH_USE_MESSAGES_PRIORITY FALSE |
| Synchronous Messages queuing mode. | |
| #define | CH_USE_MAILBOXES TRUE |
| Mailboxes APIs. | |
| #define | CH_USE_QUEUES TRUE |
| I/O Queues APIs. | |
| #define | CH_USE_MEMCORE TRUE |
| Core Memory Manager APIs. | |
| #define | CH_USE_HEAP TRUE |
| Heap Allocator APIs. | |
| #define | CH_USE_MALLOC_HEAP FALSE |
| C-runtime allocator. | |
| #define | CH_USE_MEMPOOLS TRUE |
| Memory Pools Allocator APIs. | |
| #define | CH_USE_DYNAMIC TRUE |
| Dynamic Threads APIs. | |
Debug options | |
| #define | CH_DBG_SYSTEM_STATE_CHECK FALSE |
| Debug option, system state check. | |
| #define | CH_DBG_ENABLE_CHECKS FALSE |
| Debug option, parameters checks. | |
| #define | CH_DBG_ENABLE_ASSERTS FALSE |
| Debug option, consistency checks. | |
| #define | CH_DBG_ENABLE_TRACE FALSE |
| Debug option, trace buffer. | |
| #define | CH_DBG_ENABLE_STACK_CHECK FALSE |
| Debug option, stack checks. | |
| #define | CH_DBG_FILL_THREADS FALSE |
| Debug option, stacks initialization. | |
| #define | CH_DBG_THREADS_PROFILING TRUE |
| Debug option, threads profiling. | |
Kernel hooks | |
| #define | THREAD_EXT_FIELDS |
| Threads descriptor structure extension. | |
| #define | THREAD_EXT_INIT_HOOK(tp) |
| Threads initialization hook. | |
| #define | THREAD_EXT_EXIT_HOOK(tp) |
| Threads finalization hook. | |
| #define | THREAD_CONTEXT_SWITCH_HOOK(ntp, otp) |
| Context switch hook. | |
| #define | IDLE_LOOP_HOOK() |
| Idle Loop hook. | |
| #define | SYSTEM_TICK_EVENT_HOOK() |
| System tick event hook. | |
| #define | SYSTEM_HALT_HOOK() |
| System halt hook. | |