I’m porting my application that’s written on ST10 micro-controller to STM32F407 using STCubeMX tool based on FreeRTOS in Keil IDE. I want to use 50 events in a particular task but FreeRTOS doesn’t allow me to use more than 32 events that is based on bit field. So, any help on how to define/use more than 32 events would be highly appreciated.
Dave, how can I use 2 event groups for a single task? And I’m using CMSIS OS as wrapper on top of FreeRTOS. I would like to use osSignalSet() function that is provided by CMSIS OS.
…and allocate a bit in the first event group to indicate if a bit in
the second event group is set or not - that way you only need to block
on one not both.
I want to confirm following with respect to FreeRTOS
Can we use /call atomic instruction (available with ARM cortex M4 processor) and use it before manipulation ulNotifiedValue of type “long long”
If I go with current impelementation available with FreeRTOS, I believe, I can pass the 3rd argument to function xTaskNotify() as eSetValueWithoutOverwrite. However, I will have to check the return value to confirm whether the signal will be sent.
I want to confirm following with respect to FreeRTOS
Can we use /call atomic instruction (available with ARM cortex M4
processor) and use it before manipulation ulNotifiedValue of type “long
long”
I don’t understand the question, but as per my reply a few moments ago,
the notification value must be 32-bits.
If I go with current impelementation available with FreeRTOS, I
believe, I can pass the 3rd argument to function xTaskNotify() as
eSetValueWithoutOverwrite. However, I will have to check the return
value to confirm whether the sinal will be sent.