Fixing code generation in CubeMX: Tickless functions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-03 12:49 AM
Hello, when using CubeMX + STM32WB + BLE, I noticed that if the BLE feature is enabled in CubeMX, a file called freertos_port.c is created in the project. This file includes the functions void vPortSuppressTicksAndSleep(TickType_t xExpectedIdleTime) and void vPortSetupTimerInterrupt(void). Unfortunately, these functions are not marked as WEAK, which is a pity because after each new code generation in CubeMX, we have to manually add WEAK. There is also no option to add anything via USER CODE START. Would it be possible to fix this? Thank you.
- Labels:
-
Bug-report
-
STM32CubeMX
-
STM32WB series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-03 2:53 AM
Hello @JJRR
First let me thank you for posting and welcome to the ST Community.
For more investigation, I suggest please that you provide the ioc. File.
Thanks.
Mahmoud.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-03 3:09 AM
I enabled only FreeRTOS with Tickless mode + STM32_WPAN - BLE (CFG_LPM_SUPPORTED - but I think it has no effetc on that)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-06 1:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-06 2:06 AM
I sent IOC file via personal message (email).
