I want to combine hard realtime & soft realtime tasks.
As per this scenario I have done a simple demo project.
A button press activates the external interrupt & a higher priority task is deferred by interrupt processing.
This deferred task is the sender task which sends the incremental value of a counter variable through inter task communication or queue management to a low priority receiver task.
And below this low priority task two same priority tasks runs which blinks independent leds separately at different intervals.
So in this way am I implementing both hard realtime & soft realtime tasks?
If the above demo is not perfect for this scenario, kindly suggest me a simple practical example to implement both hard & soft real time tasks on stm32 using freertos.