Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
chconf.h File Reference

Go to the source code of this file.

Macros

System timers settings
#define CH_CFG_ST_RESOLUTION   32
 System time counter resolution. More...
 
#define CH_CFG_ST_FREQUENCY   10000
 System tick frequency. More...
 
#define CH_CFG_ST_TIMEDELTA   0
 Time delta constant for the tick-less mode. More...
 
Kernel parameters and options
#define CH_CFG_TIME_QUANTUM   10
 Round robin interval. More...
 
#define CH_CFG_MEMCORE_SIZE   0
 Managed RAM size. More...
 
#define CH_CFG_NO_IDLE_THREAD   FALSE
 Idle thread automatic spawn suppression. More...
 
Performance options
#define CH_CFG_OPTIMIZE_SPEED   TRUE
 OS optimization. More...
 
Subsystem options
#define CH_CFG_USE_TM   TRUE
 Time Measurement APIs. More...
 
#define CH_CFG_USE_REGISTRY   TRUE
 Threads registry APIs. More...
 
#define CH_CFG_USE_WAITEXIT   TRUE
 Threads synchronization APIs. More...
 
#define CH_CFG_USE_SEMAPHORES   TRUE
 Semaphores APIs. More...
 
#define CH_CFG_USE_SEMAPHORES_PRIORITY   FALSE
 Semaphores queuing mode. More...
 
#define CH_CFG_USE_MUTEXES   TRUE
 Mutexes APIs. More...
 
#define CH_CFG_USE_MUTEXES_RECURSIVE   FALSE
 Enables recursive behavior on mutexes. More...
 
#define CH_CFG_USE_CONDVARS   TRUE
 Conditional Variables APIs. More...
 
#define CH_CFG_USE_CONDVARS_TIMEOUT   TRUE
 Conditional Variables APIs with timeout. More...
 
#define CH_CFG_USE_EVENTS   TRUE
 Events Flags APIs. More...
 
#define CH_CFG_USE_EVENTS_TIMEOUT   TRUE
 Events Flags APIs with timeout. More...
 
#define CH_CFG_USE_MESSAGES   TRUE
 Synchronous Messages APIs. More...
 
#define CH_CFG_USE_MESSAGES_PRIORITY   FALSE
 Synchronous Messages queuing mode. More...
 
#define CH_CFG_USE_MAILBOXES   TRUE
 Mailboxes APIs. More...
 
#define CH_CFG_USE_QUEUES   TRUE
 I/O Queues APIs. More...
 
#define CH_CFG_USE_MEMCORE   TRUE
 Core Memory Manager APIs. More...
 
#define CH_CFG_USE_HEAP   TRUE
 Heap Allocator APIs. More...
 
#define CH_CFG_USE_MEMPOOLS   TRUE
 Memory Pools Allocator APIs. More...
 
#define CH_CFG_USE_DYNAMIC   TRUE
 Dynamic Threads APIs. More...
 
Debug options
#define CH_DBG_STATISTICS   FALSE
 Debug option, kernel statistics. More...
 
#define CH_DBG_SYSTEM_STATE_CHECK   FALSE
 Debug option, system state check. More...
 
#define CH_DBG_ENABLE_CHECKS   FALSE
 Debug option, parameters checks. More...
 
#define CH_DBG_ENABLE_ASSERTS   FALSE
 Debug option, consistency checks. More...
 
#define CH_DBG_ENABLE_TRACE   FALSE
 Debug option, trace buffer. More...
 
#define CH_DBG_ENABLE_STACK_CHECK   FALSE
 Debug option, stack checks. More...
 
#define CH_DBG_FILL_THREADS   FALSE
 Debug option, stacks initialization. More...
 
#define CH_DBG_THREADS_PROFILING   FALSE
 Debug option, threads profiling. More...
 
Kernel hooks
#define CH_CFG_THREAD_EXTRA_FIELDS   /* Add threads custom fields here.*/
 Threads descriptor structure extension. More...
 
#define CH_CFG_THREAD_INIT_HOOK(tp)
 Threads initialization hook. More...
 
#define CH_CFG_THREAD_EXIT_HOOK(tp)
 Threads finalization hook. More...
 
#define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp)
 Context switch hook. More...
 
#define CH_CFG_IDLE_ENTER_HOOK()
 Idle thread enter hook. More...
 
#define CH_CFG_IDLE_LEAVE_HOOK()
 Idle thread leave hook. More...
 
#define CH_CFG_IDLE_LOOP_HOOK()
 Idle Loop hook. More...
 
#define CH_CFG_SYSTEM_TICK_HOOK()
 System tick event hook. More...
 
#define CH_CFG_SYSTEM_HALT_HOOK(reason)
 System halt hook. More...