2023-05-12 07: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
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 ?