Go to the documentation of this file.
35 #define CHPRINTF_USE_FLOAT TRUE
36 #define CORTEX_SIMPLIFIED_PRIORITY TRUE
37 #define PORT_IDLE_THREAD_STACK_SIZE 64
38 #define PORT_INT_REQUIRED_STACK 128
52 #if !defined(CH_FREQUENCY) || defined(__DOXYGEN__)
53 #define CH_FREQUENCY 10000
67 #if !defined(CH_TIME_QUANTUM) || defined(__DOXYGEN__)
68 #define CH_TIME_QUANTUM 4
82 #if !defined(CH_MEMCORE_SIZE) || defined(__DOXYGEN__)
83 #define CH_MEMCORE_SIZE 0
99 #if !defined(CH_NO_IDLE_THREAD) || defined(__DOXYGEN__)
100 #define CH_NO_IDLE_THREAD FALSE
120 #if !defined(CH_OPTIMIZE_SPEED) || defined(__DOXYGEN__)
121 #define CH_OPTIMIZE_SPEED TRUE
139 #if !defined(CH_USE_REGISTRY) || defined(__DOXYGEN__)
140 #define CH_USE_REGISTRY TRUE
150 #if !defined(CH_USE_WAITEXIT) || defined(__DOXYGEN__)
151 #define CH_USE_WAITEXIT TRUE
160 #if !defined(CH_USE_SEMAPHORES) || defined(__DOXYGEN__)
161 #define CH_USE_SEMAPHORES TRUE
172 #if !defined(CH_USE_SEMAPHORES_PRIORITY) || defined(__DOXYGEN__)
173 #define CH_USE_SEMAPHORES_PRIORITY FALSE
184 #if !defined(CH_USE_SEMSW) || defined(__DOXYGEN__)
185 #define CH_USE_SEMSW TRUE
194 #if !defined(CH_USE_MUTEXES) || defined(__DOXYGEN__)
195 #define CH_USE_MUTEXES TRUE
206 #if !defined(CH_USE_CONDVARS) || defined(__DOXYGEN__)
207 #define CH_USE_CONDVARS TRUE
218 #if !defined(CH_USE_CONDVARS_TIMEOUT) || defined(__DOXYGEN__)
219 #define CH_USE_CONDVARS_TIMEOUT TRUE
228 #if !defined(CH_USE_EVENTS) || defined(__DOXYGEN__)
229 #define CH_USE_EVENTS TRUE
240 #if !defined(CH_USE_EVENTS_TIMEOUT) || defined(__DOXYGEN__)
241 #define CH_USE_EVENTS_TIMEOUT TRUE
251 #if !defined(CH_USE_MESSAGES) || defined(__DOXYGEN__)
252 #define CH_USE_MESSAGES TRUE
263 #if !defined(CH_USE_MESSAGES_PRIORITY) || defined(__DOXYGEN__)
264 #define CH_USE_MESSAGES_PRIORITY FALSE
275 #if !defined(CH_USE_MAILBOXES) || defined(__DOXYGEN__)
276 #define CH_USE_MAILBOXES TRUE
285 #if !defined(CH_USE_QUEUES) || defined(__DOXYGEN__)
286 #define CH_USE_QUEUES TRUE
296 #if !defined(CH_USE_MEMCORE) || defined(__DOXYGEN__)
297 #define CH_USE_MEMCORE TRUE
310 #if !defined(CH_USE_HEAP) || defined(__DOXYGEN__)
311 #define CH_USE_HEAP TRUE
324 #if !defined(CH_USE_MALLOC_HEAP) || defined(__DOXYGEN__)
325 #define CH_USE_MALLOC_HEAP FALSE
335 #if !defined(CH_USE_MEMPOOLS) || defined(__DOXYGEN__)
336 #define CH_USE_MEMPOOLS TRUE
348 #if !defined(CH_USE_DYNAMIC) || defined(__DOXYGEN__)
349 #define CH_USE_DYNAMIC TRUE
368 #if !defined(CH_DBG_SYSTEM_STATE_CHECK) || defined(__DOXYGEN__)
369 #define CH_DBG_SYSTEM_STATE_CHECK FALSE
379 #if !defined(CH_DBG_ENABLE_CHECKS) || defined(__DOXYGEN__)
380 #define CH_DBG_ENABLE_CHECKS FALSE
391 #if !defined(CH_DBG_ENABLE_ASSERTS) || defined(__DOXYGEN__)
392 #define CH_DBG_ENABLE_ASSERTS FALSE
402 #if !defined(CH_DBG_ENABLE_TRACE) || defined(__DOXYGEN__)
403 #define CH_DBG_ENABLE_TRACE FALSE
416 #if !defined(CH_DBG_ENABLE_STACK_CHECK) || defined(__DOXYGEN__)
417 #define CH_DBG_ENABLE_STACK_CHECK FALSE
428 #if !defined(CH_DBG_FILL_THREADS) || defined(__DOXYGEN__)
429 #define CH_DBG_FILL_THREADS FALSE
441 #if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
442 #define CH_DBG_THREADS_PROFILING TRUE
458 #if !defined(THREAD_EXT_FIELDS) || defined(__DOXYGEN__)
459 #define THREAD_EXT_FIELDS \
470 #if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__)
471 #define THREAD_EXT_INIT_HOOK(tp) { \
484 #if !defined(THREAD_EXT_EXIT_HOOK) || defined(__DOXYGEN__)
485 #define THREAD_EXT_EXIT_HOOK(tp) { \
494 #if !defined(THREAD_CONTEXT_SWITCH_HOOK) || defined(__DOXYGEN__)
495 #define THREAD_CONTEXT_SWITCH_HOOK(ntp, otp) { \
504 #if !defined(IDLE_LOOP_HOOK) || defined(__DOXYGEN__)
505 #define IDLE_LOOP_HOOK() { \
515 #if !defined(SYSTEM_TICK_EVENT_HOOK) || defined(__DOXYGEN__)
516 #define SYSTEM_TICK_EVENT_HOOK() { \
526 #if !defined(SYSTEM_HALT_HOOK) || defined(__DOXYGEN__)
527 #define SYSTEM_HALT_HOOK() { \