Pay attention: Issue in STM32CubeIDE linker template file causes BLE projects don't work as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-05-12 7:42 AM
Hello,
Since STM32CubeIDE V1.11.0, there is an issue in linker file template, see STM32WB55RGVX_FLASH.ld file. In this file, there is an extra dot for MB_MEM2 section initialization, see this part:
.MB_MEM2 :
{
_sMB_MEM2 = . ;
*(.MB_MEM2) ; // Erroneous line
_eMB_MEM2 = . ;
} >RAM_SHARED AT> FLASH
The erroneous line should be replace by this one (extra dot removed):
*(MB_MEM2);
Due to this extra dot, the buffers that need to be in SRAM2 are not placed there, so BLE application doesn't work as expected. The fix will be available in the next STM32CubeIDE release (v1.13.0).
Best Regards
- Labels:
-
STM32CubeIDE
-
STM32WB series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-15 12:16 AM
Thanks for this Rémy
So STM32CubeIDE v1.13.0 onwerds will have the linker file fixed.
But if someone already started their project with the erratic one, then upgrading to v1.13 won't fix their issue.
it this is possible, it may be nice for STM32CubeIDE to check this specific file for this specific error and suggest the user to fix it. Does it make sense ?
