-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
RTOSFreeRTOS related issueFreeRTOS related issueenhancementNew feature or requestNew feature or request
Description
Related Issues & PRs
Description
The declaration and definition of a modules data structures should be easily possible through the use of macros. Structures, relying on FreeRTOS, often require extensive use of many types like tasks and queues which in turn depend on stacks and buffers.
Solution
Provide macros that can be included into a modules main data structure definition like in the example below:
struct spo2 {
TASK(name, stacksize);
QUEUE(name, size, length);
QUEUE(name, size, length);
}
Alternative solutions
- Alternate solutions do not make use of macros but require more effort to produce the same result.
Context
See for example these definitions and config structs which could be saved away.
Metadata
Metadata
Assignees
Labels
RTOSFreeRTOS related issueFreeRTOS related issueenhancementNew feature or requestNew feature or request