RTOS – RTX labs

For All the following labs you need to use the reference manual here

Part 1 – Simple tasks

Download the starter code from here

Create 2 tasks , each one blinks a set of GPIOs (use the functions set_leds_on/off)

Do the same with one function – use the function argument to pass the required GPIOs to set and the delay

 

Part 2 – mutex

Add a mutex to the previous lab so the GPIOs will not be set together

 

Part 3 – events

Download the starter code from here

Follow instructions in the code