Pay attention: Issue in STM32CubeIDE linker template file causes BLE projects don't work as expected
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> FLASHThe 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