Skip to content

add support for interrupt triggered tasks #201

Description

@ghostgold

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions