This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Defining tasks creation order

Hi.

In my project I have 7 different tasks defined in static CFG file.

Is there a way to define an order in which these tasks are created at run time, without affecting their priority?

Suppose there are low priority tasks that I want to execute first at boot time. What should I do to define this order?

Thanks.

  • What is "boot time", in main(), before main(), beginning of a Task?

    Tasks start executing when you call BIOS_start() (from within main()). At that point the highest priority task that is ready to run will always execute. Tasks created via the .cfg are all created before you get to main().