STM32L431 STM32CubeMx FreeRTOS impossible to add software timer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-01 2:53 AM
Hello,
I would like to use software timers with FreeRTOS but the Add button is disable. The others button (add semaphore, mutexes, Events, ..) are all available...
The target is STM32L431.
Do you have any suggestion?
Best regards
Mich
Solved! Go to Solution.
- Labels:
-
FreeRTOS
-
STM32CubeMX
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-01 3:08 AM - edited ‎2024-10-01 5:23 AM
Hello @MLe M.1
Could you please try to put the cursor on the Add button. It should show a message that explain why this is disabled. For your case, you need to set the USE_TIMERS to Enabled on the Config parameters.
PS: This parameter is automatically set to 1 will:
- CMSIS_RTOS_V2 is used (constraint due to current cmsis_os2.c file in FW packs)
- xTaskGetSchedulerState equals to 0 (Disabled)
- xTimerPendFunctionCall equals to 1 (Enabled)
- xEventGroupSetBitFromISR equals to 1 (Enabled).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-01 3:08 AM - edited ‎2024-10-01 5:23 AM
Hello @MLe M.1
Could you please try to put the cursor on the Add button. It should show a message that explain why this is disabled. For your case, you need to set the USE_TIMERS to Enabled on the Config parameters.
PS: This parameter is automatically set to 1 will:
- CMSIS_RTOS_V2 is used (constraint due to current cmsis_os2.c file in FW packs)
- xTaskGetSchedulerState equals to 0 (Disabled)
- xTimerPendFunctionCall equals to 1 (Enabled)
- xEventGroupSetBitFromISR equals to 1 (Enabled).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
