Summary
Does it compile the follwing ST? Do we plan to add it?
TASK task1(SINGLE := GlobalVar,INTERVAL := T#20ms,PRIORITY := 0);
I tested but it seems does not support it, the generated task does pass GlobalVar at all.
Scope
The compiled task should contains the trigger variable.
Since there is no single main for StruCpp and tasks run in their own thread, maybe a check for tigger at the task start point?
Implementation Notes
No response
Acceptance
Summary
Does it compile the follwing ST? Do we plan to add it?
TASK task1(SINGLE := GlobalVar,INTERVAL := T#20ms,PRIORITY := 0);
I tested but it seems does not support it, the generated task does pass GlobalVar at all.
Scope
The compiled task should contains the trigger variable.
Since there is no single main for StruCpp and tasks run in their own thread, maybe a check for tigger at the task start point?
Implementation Notes
No response
Acceptance