dRonin
adbada4
dRonin firmware
|
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | CORTEX_USE_FPU TRUE |
Kernel parameters and options | |
#define | CH_FREQUENCY 1000 |
System tick frequency. More... | |
#define | CH_TIME_QUANTUM 1 |
Round robin interval. More... | |
#define | CH_MEMCORE_SIZE 0 |
Managed RAM size. More... | |
#define | CH_NO_IDLE_THREAD FALSE |
Idle thread automatic spawn suppression. More... | |
Performance options | |
#define | CH_OPTIMIZE_SPEED TRUE |
OS optimization. More... | |
Subsystem options | |
#define | CH_USE_REGISTRY TRUE |
Threads registry APIs. More... | |
#define | CH_USE_WAITEXIT TRUE |
Threads synchronization APIs. More... | |
#define | CH_USE_SEMAPHORES TRUE |
Semaphores APIs. More... | |
#define | CH_USE_SEMAPHORES_PRIORITY FALSE |
Semaphores queuing mode. More... | |
#define | CH_USE_SEMSW TRUE |
Atomic semaphore API. More... | |
#define | CH_USE_MUTEXES TRUE |
Mutexes APIs. More... | |
#define | CH_USE_CONDVARS FALSE |
Conditional Variables APIs. More... | |
#define | CH_USE_CONDVARS_TIMEOUT FALSE |
Conditional Variables APIs with timeout. More... | |
#define | CH_USE_EVENTS FALSE |
Events Flags APIs. More... | |
#define | CH_USE_EVENTS_TIMEOUT FALSE |
Events Flags APIs with timeout. More... | |
#define | CH_USE_MESSAGES FALSE |
Synchronous Messages APIs. More... | |
#define | CH_USE_MESSAGES_PRIORITY FALSE |
Synchronous Messages queuing mode. More... | |
#define | CH_USE_MAILBOXES TRUE |
Mailboxes APIs. More... | |
#define | CH_USE_QUEUES FALSE |
I/O Queues APIs. More... | |
#define | CH_USE_MEMCORE FALSE |
Core Memory Manager APIs. More... | |
#define | CH_USE_HEAP FALSE |
Heap Allocator APIs. More... | |
#define | CH_USE_MALLOC_HEAP FALSE |
C-runtime allocator. More... | |
#define | CH_USE_MEMPOOLS TRUE |
Memory Pools Allocator APIs. More... | |
#define | CH_USE_DYNAMIC FALSE |
Dynamic Threads APIs. More... | |
Debug options | |
#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 TRUE |
Debug option, stacks initialization. More... | |
#define | CH_DBG_THREADS_PROFILING FALSE |
Debug option, threads profiling. More... | |
Macro Functions | |
#define | halGetCounterValue() hal_lld_get_counter_value() |
Returns the current value of the system free running counter. More... | |
#define | hal_lld_get_counter_value() DWT_CYCCNT |
Returns the current value of the system free running counter. More... | |
#define | THREAD_EXT_FIELDS |
Threads descriptor structure extension. More... | |
#define | THREAD_EXT_INIT_HOOK(tp) |
Threads initialization hook. More... | |
#define | THREAD_EXT_EXIT_HOOK(tp) |
Threads finalization hook. More... | |
#define | THREAD_CONTEXT_SWITCH_HOOK(ntp, otp) |
Context switch hook. More... | |
#define | IDLE_LOOP_HOOK() |
Idle Loop hook. More... | |
#define | SYSTEM_TICK_EVENT_HOOK() |
System tick event hook. More... | |
#define | SYSTEM_HALT_HOOK() |
System halt hook. More... | |
Typedefs | |
Kernel hooks | |
typedef uint32_t | halrtcnt_t |
Type of the realtime free counter value. More... | |