cancel
Showing results for 
Search instead for 
Did you mean: 

[FreeRTOS] Is it possible to enable xEventGroupSetBitFromISR in CubeMX?

Carlos Diaz R.
Associate III

I wanted to test event groups to replace a bin semaphore and as the title says, i can't enable xEventGroupSetBitFromISR on CMSISv1 nor CMSISv2 wrappers.

0690X000008wTHDQA2.png

Is there another way to enable that function? Maybe in a unofficial way?

Regards,

Carlos

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

​Hello @Carlos Diaz R.​ , YES, you can enable "xEventGroupSetBitFromISR" from CubeMX.

Please Follow steps below.

1-Enable Use_TIMERS

2-Enable : xTimerPendFunctionCall

-> 3- xEventGroupSetBitFromISR can be enabled

Best Regards,

Khouloud.0690X000008wTygQAE.png0690X000008wTzeQAE.png0690X000008wTzjQAE.png

View solution in original post

4 REPLIES 4
Khouloud ZEMMELI
ST Employee

​Hello @Carlos Diaz R.​ , YES, you can enable "xEventGroupSetBitFromISR" from CubeMX.

Please Follow steps below.

1-Enable Use_TIMERS

2-Enable : xTimerPendFunctionCall

-> 3- xEventGroupSetBitFromISR can be enabled

Best Regards,

Khouloud.0690X000008wTygQAE.png0690X000008wTzeQAE.png0690X000008wTzjQAE.png

Carlos Diaz R.
Associate III

Hi @Khouloud ZEMMELI​ , thanks for the detailed explanation, i will test it when i get to the office.

Is this kind of options documented somewhere? or is a FreeRTOS requisite?

Khouloud ZEMMELI
ST Employee

​Hi @Carlos Diaz R.​ , It's too simple , just click on this icon and it will guide you :) . 

Best Regards,

Khouloud.

0690X000008a7yHQAQ.png

Carlos Diaz R.
Associate III

I didn't saw the information button before, how silly of me. Thanks for your help :smiling_face_with_smiling_eyes: