|
SRTOS
|
Core configuration parameters for SRTOS. More...
Go to the source code of this file.
Macros | |
| #define | STACK_SIZE 128U |
| Default stack size for each task, in 32-bit words. | |
| #define | MAX_PRIORITIES 2U |
| Number of unique task priority levels supported by the scheduler. | |
Core configuration parameters for SRTOS.
This file defines system-level constants that control kernel behavior.
Definition in file kernel_config.h.
| #define MAX_PRIORITIES 2U |
Number of unique task priority levels supported by the scheduler.
Priorities range from 0 (lowest) to MAX_PRIORITIES - 1 (highest). Increasing this value allows for increased scheduler clarity but may increase context-switching overhead and decrease performance.
Definition at line 27 of file kernel_config.h.
| #define STACK_SIZE 128U |
Default stack size for each task, in 32-bit words.
Each task’s stack is statically allocated at creation time. The total size in bytes is STACK_SIZE * 4. Adjust this value based on task complexity and available RAM.
Definition at line 18 of file kernel_config.h.