µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os-app-config.h
Go to the documentation of this file.
1
26#define DEBUG
27
37#define TRACE
38
56#define NDEBUG
57
62// ----------------------------------------------------------------------------
82#define OS_EXCLUDE_DYNAMIC_MEMORY_ALLOCATIONS
83
103#define OS_INTEGER_RTOS_DYNAMIC_MEMORY_SIZE_BYTES
104
105
121#define OS_INTEGER_RTOS_ALLOC_THREAD_POOL_SIZE
122
138#define OS_INTEGER_RTOS_ALLOC_CONDITION_VARIABLE_POOL_SIZE
139
155#define OS_INTEGER_RTOS_ALLOC_EVENT_FLAGS_POOL_SIZE
156
172#define OS_INTEGER_RTOS_ALLOC_MEMORY_POOL_POOL_SIZE
173
189#define OS_INTEGER_RTOS_ALLOC_MESSAGE_QUEUE_POOL_SIZE
190
206#define OS_INTEGER_RTOS_ALLOC_MUTEX_POOL_SIZE
207
223#define OS_INTEGER_RTOS_ALLOC_SEMAPHORE_POOL_SIZE
224
240#define OS_INTEGER_RTOS_ALLOC_TIMER_POOL_SIZE
241
264#define OS_TYPE_RTOS_MEMORY_RESOURCE
265
280#define OS_TYPE_APPLICATION_MEMORY_RESOURCE
281
286// ----------------------------------------------------------------------------
297#define OS_INTEGER_SYSTICK_FREQUENCY_HZ (1000)
298
332#define OS_INTEGER_RTOS_CRITICAL_SECTION_INTERRUPT_PRIORITY
333
337#define OS_INTEGER_RTOS_DEFAULT_STACK_SIZE_BYTES
338
344#define OS_INTEGER_RTOS_MAIN_STACK_SIZE_BYTES
345
351#define OS_INTEGER_RTOS_IDLE_STACK_SIZE_BYTES
352
376#define OS_INCLUDE_RTOS_STATISTICS_THREAD_CPU_CYCLES (1)
377
398#define OS_INCLUDE_RTOS_STATISTICS_THREAD_CONTEXT_SWITCHES
399
403#define OS_INCLUDE_RTOS_CUSTOM_THREAD_USER_STORAGE
404
418#define OS_BOOL_RTOS_MESSAGE_QUEUE_SIZE_16BITS (false)
419
435#define OS_BOOL_RTOS_THREAD_IDLE_PRIORITY_BELOW_IDLE (false)
436
451#define OS_BOOL_RTOS_PORT_CONTEXT_CREATE_ZERO_LR (false)
452
464#define OS_BOOL_RTOS_SCHEDULER_PREEMPTIVE (true)
465
481#define OS_EXCLUDE_RTOS_IDLE_SLEEP
482
487// ----------------------------------------------------------------------------
496#define OS_INCLUDE_STARTUP_INIT_MULTIPLE_RAM_SECTIONS
497
512#define OS_BOOL_STARTUP_GUARD_CHECKS (true)
513
517#define OS_INCLUDE_STARTUP_INIT_FP
518
537#define OS_USE_SEMIHOSTING_SYSCALLS
538
552#define OS_INTEGER_SEMIHOSTING_MAX_OPEN_FILES (20)
553
559#define OS_INCLUDE_STANDARD_POSIX_FUNCTIONS
560
566#define OS_INCLUDE_NEWLIB_POSIX_FUNCTIONS
567
580#define OS_DISABLE_CORTEXM_SET_MSP_VIA_VTOR
581
586// ----------------------------------------------------------------------------
609#define OS_INCLUDE_ATEXIT_STATIC
610
618#define OS_INTEGER_ATEXIT_ARRAY_SIZE (3)
619
623#define OS_INTEGER_DIRENT_NAME_MAX (256)
624
625
630// ----------------------------------------------------------------------------
647#define OS_USE_RTOS_PORT_SCHEDULER
648
652#define OS_USE_RTOS_PORT_CONDITION_VARIABLE
653
657#define OS_USE_RTOS_PORT_EVENT_FLAGS
658
662#define OS_USE_RTOS_PORT_MESSAGE_QUEUE
663
667#define OS_USE_RTOS_PORT_MUTEX
668
672#define OS_USE_RTOS_PORT_SEMAPHORE
673
677#define OS_USE_RTOS_PORT_CLOCK_SYSTICK_WAIT_FOR
678
682#define OS_USE_RTOS_PORT_CLOCK_REALTIME_WAIT_FOR
683
687#define OS_USE_RTOS_PORT_TIMER
688
693// ----------------------------------------------------------------------------
699// TODO: add examples of output for each OS_TRACE_* option.
717#define OS_USE_TRACE_ITM
718
744#define OS_USE_TRACE_SEMIHOSTING_DEBUG
745
765#define OS_USE_TRACE_SEMIHOSTING_STDOUT
766
773#define OS_USE_TRACE_POSIX_STDOUT
774
781#define OS_USE_TRACE_POSIX_STDERR
782
794#define OS_USE_TRACE_SEGGER_RTT
795
799#define OS_TRACE_RTOS_CLOCKS
800
804#define OS_TRACE_RTOS_LISTS_CLOCKS
805
809#define OS_TRACE_RTOS_CONDVAR
810
814#define OS_TRACE_RTOS_EVFLAGS
815
819#define OS_TRACE_RTOS_MEMPOOL
820
824#define OS_TRACE_RTOS_MQUEUE
825
829#define OS_TRACE_RTOS_MUTEX
830
834#define OS_TRACE_RTOS_RTC_TICK
835
839#define OS_TRACE_RTOS_SCHEDULER
840
844#define OS_TRACE_RTOS_SEMAPHORE
845
849#define OS_TRACE_RTOS_SYSCLOCK_TICK
850
854#define OS_TRACE_RTOS_SYSCLOCK_TICK_BRACES
855
859#define OS_TRACE_RTOS_THREAD
860
867#define OS_TRACE_RTOS_THREAD_CONTEXT
868
872#define OS_TRACE_RTOS_THREAD_FLAGS
873
877#define OS_TRACE_RTOS_TIMER
878
885#define OS_TRACE_RTOS_LISTS
886
890#define OS_TRACE_LIBC_MALLOC
891
895#define OS_TRACE_LIBC_ATEXIT
896
900#define OS_TRACE_LIBCPP_OPERATOR_NEW
901
905#define OS_TRACE_LIBCPP_MEMORY_RESOURCE
906
910#define OS_TRACE_UTILS_LISTS_CONSTRUCT
911
915#define OS_TRACE_UTILS_LISTS
916
926#define OS_INTEGER_TRACE_ITM_STIMULUS_PORT (0)
927
938#define OS_INTEGER_TRACE_SEMIHOSTING_BUFF_ARRAY_SIZE (16)
939
944// ----------------------------------------------------------------------------