![]() |
ChibiOS/RT Architecture - Reference Manual - Guides |
Configuration file template. More...
Go to the source code of this file.
Defines | |
| #define | CH_FREQUENCY 1000 |
| System tick frequency. | |
| #define | CH_TIME_QUANTUM 20 |
| Round robin interval. | |
| #define | CH_USE_NESTED_LOCKS FALSE |
| Nested locks. | |
| #define | CH_MEMCORE_SIZE 0 |
| Managed RAM size. | |
| #define | CH_OPTIMIZE_SPEED TRUE |
| OS optimization. | |
| #define | CH_CURRP_REGISTER_CACHE "reg" |
| Exotic optimization. | |
| #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. | |
| #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. | |
| #define | THREAD_EXT_FIELDS |
| Threads descriptor structure hook. | |
| #define | THREAD_EXT_INIT(tp) |
| Threads initialization hook. | |
| #define | THREAD_EXT_EXIT(tp) |
| Threads finalization hook. | |
| #define | IDLE_LOOP_HOOK() |
| Idle Loop hook. | |
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.
1.7.1