configUSE_TASK_NOTIFICATIONS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-15 5:20 AM
you have to put "#define configUSE_TASK_NOTIFICATIONS 1" into FreeRTOSConfig.h to make notification to work.
Even cube has enabled the funktion. Cube removes the line every time its saves the project.
- Labels:
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-15 6:58 AM
Hello @Gert_Lauritsen,
Try adding it to the "User Code Begin" or "User Code End" sections of the FreeRTOSConfig.h file, which are not modified by CubeMX
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
‎2023-11-15 11:50 AM
I haven't tried this on an F7 with newer CubeMX, but in CubeMX 6.3, configUSE_TASK_NOTIFICATIONS is defined to 1 by default in FreeRTOS.h. If you disable task notifications in CubeMX, it then adds
#define configUSE_TASK_NOTIFICATIONS 0
in FreeRTOSConfig.h.
Check your Middlewares\ThirdParty\FreeRTOS\Source\include\FreeRTOS.h and see if it has the default value there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-15 9:26 PM
It's not because I have to set it in config file ( now that I know it). just that cube says it should have been set.
And normally a default value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-17 8:14 AM
Hello @Gert_Lauritsen,
I've reproduced the issue and reported it internally (Internal ticket number 166614)
Sorry for the inconvenience, I will keep you updated
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.
