Skip to content

Cross compile to FreeRTOS #978

Answered by timcanham
rawinza555 asked this question in Q&A
Aug 30, 2021 · 12 comments · 33 replies
Discussion options

You must be logged in to vote

@rawinza555: The function signature for the Os::Task::start() call includes the task entry function:

TaskStatus start(const Fw::StringBase &name, taskRoutine routine, void* arg, NATIVE_UINT_TYPE priority = TASK_DEFAULT, NATIVE_UINT_TYPE stackSize = TASK_DEFAULT,  NATIVE_UINT_TYPE cpuAffinity = TASK_DEFAULT, NATIVE_UINT_TYPE identifier = TASK_DEFAULT);

See the taskRoutine argument. You should be able to pass this to the FreeRTOS function.

Replies: 12 comments 33 replies

Comment options

You must be logged in to vote
1 reply
@rawinza555
Comment options

Comment options

You must be logged in to vote
7 replies
@LeStarch
Comment options

@LeStarch
Comment options

@rawinza555
Comment options

@LeStarch
Comment options

@LeStarch
Comment options

Comment options

You must be logged in to vote
5 replies
@timcanham
Comment options

@LeStarch
Comment options

@rawinza555
Comment options

@timcanham
Comment options

@rawinza555
Comment options

Comment options

You must be logged in to vote
2 replies
@Joshua-Anderson
Comment options

@timcanham
Comment options

Comment options

You must be logged in to vote
2 replies
@rawinza555
Comment options

@rawinza555
Comment options

Comment options

You must be logged in to vote
3 replies
@rawinza555
Comment options

@timcanham
Comment options

@rawinza555
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rawinza555
Comment options

Answer selected by rawinza555
Comment options

You must be logged in to vote
2 replies
@LeStarch
Comment options

@LeStarch
Comment options

Comment options

You must be logged in to vote
8 replies
@rawinza555
Comment options

@timcanham
Comment options

@rawinza555
Comment options

@rawinza555
Comment options

@daniel-digby
Comment options

Comment options

You must be logged in to vote
2 replies
@LeStarch
Comment options

@LeStarch
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants