Why I got different LinkerScript.ld depending on project creation options?
Hi Joe,
The reason is that in the first case you requested not to use the ST-provided Board Support Package (BSP), so System Workbench for STM32 had to generate linker script and startup files looking only at the definition of the MCU, while in the second case, you used the ST-provided BSP, so you get a linker script and startup code that was provided by the BSP.
Ususally only the initail comment (and precise presentation of the code) are really different and both files give the same result. However some boards may add some resources (like external RAM or Flash) that the auto-generated version will not support (remember you requested not to use the BSP) while the second one will.
Hope this helps,
Bernard (Ac6)