OS
v1.7.5
Documentation
|
Some OS features can be customized using a set of macros located in the header file config.h
.
More...
Macros | |
#define | Q_PRIORITY_LEVELS |
Number of priority levels. | |
#define | Q_PRIO_QUEUE_SIZE |
The size of the priority queue. | |
#define | Q_ALLOW_SCHEDULER_RELEASE |
Allow scheduler release action. | |
#define | Q_PRESERVE_TASK_ENTRY_ORDER |
Preserve task entry order. | |
#define | Q_BYTE_ALIGNMENT |
Byte alignment used by the memory manager. | |
#define | Q_DEFAULT_HEAP_SIZE |
Heap size fo the default memory pool. | |
#define | Q_FSM |
Finite State Machine enabler. | |
#define | Q_FSM_MAX_NEST_DEPTH |
Finite State Machine : nest depth. | |
#define | Q_FSM_MAX_TIMEOUTS |
Finite State Machine : number of timeouts. | |
#define | Q_FSM_PS_SIGNALS_MAX |
Finite State Machine : number of signals to subscribe. | |
#define | Q_FSM_PS_SUB_PER_SIGNAL_MAX |
Finite State Machine : subscribers per signal. | |
#define | Q_TRACE_BUFSIZE |
Size for the trace internal buffer. | |
#define | Q_CLI |
AT Command Line Interface enabler. | |
#define | Q_QUEUES |
Queues enabler. | |
#define | Q_LOGGER_COLORED |
Colored output in logger. | |
Some OS features can be customized using a set of macros located in the header file config.h
.
#define Q_ALLOW_SCHEDULER_RELEASE |
Allow scheduler release action.
Used to enable or disable the release of the scheduling.
1
enabled #define Q_BYTE_ALIGNMENT |
Byte alignment used by the memory manager.
Use a number in power of two for this configuration.
8
#define Q_CLI |
AT Command Line Interface enabler.
Used to enable or disable the AT Command Line Interface(CLI)
1
enabled #define Q_DEFAULT_HEAP_SIZE |
Heap size fo the default memory pool.
This also will enable new
and delete
operators if not available in the target compiler.
0
disabled #define Q_FSM |
Finite State Machine enabler.
Used to enable or disable the Finite State Machine (FSM) module
1
enabled #define Q_FSM_MAX_NEST_DEPTH |
Finite State Machine : nest depth.
The max depth of nesting for the Finite State Machines (FSM) module. This setting its required to allow hierarchical state machines. Use a value greater than 1
5
#define Q_FSM_MAX_TIMEOUTS |
Finite State Machine : number of timeouts.
Max number of timeouts inside a timeout specification for the Finite State machine (FSM) module
3
#define Q_FSM_PS_SIGNALS_MAX |
Finite State Machine : number of signals to subscribe.
Max number of signals to subscribe for a single FSM object.
8
#define Q_FSM_PS_SUB_PER_SIGNAL_MAX |
Finite State Machine : subscribers per signal.
Max number of FSM subscribers per signal.
4
#define Q_LOGGER_COLORED |
Colored output in logger.
Used to enable colored output in supported terminals when using logger
0
disabled #define Q_PRESERVE_TASK_ENTRY_ORDER |
Preserve task entry order.
If enabled, kernel will preserve the tasks entry order every OS scheduling cycle.
1
enabled #define Q_PRIO_QUEUE_SIZE |
The size of the priority queue.
The size of the priority FIFO queue for notifications (use a 0(zero) value to disable it)
10
#define Q_PRIORITY_LEVELS |
Number of priority levels.
The number of priorities available to the application tasks
3
The number of priorities available to the application tasks #define Q_QUEUES |
Queues enabler.
Used to enable or disable OS queues
1
enabled #define Q_TRACE_BUFSIZE |
Size for the trace internal buffer.
The trace object requires an internal buffer for standard integer conversions. This macro defines its size. 36 bytes should be enough
36