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.
2024-06-03 02: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.
2024-06-03 03:09 AM
I enabled only FreeRTOS with Tickless mode + STM32_WPAN - BLE (CFG_LPM_SUPPORTED - but I think it has no effetc on that)
2024-06-06 01:41 AM
2024-06-06 02:06 AM
I sent IOC file via personal message (email).