Skip to main content
EGonz
Associate
Feb 14, 2019 3:29 AM UTC
Question

linker file missing when project is created using the Keil CMSIS package manager... I prefer this way because you are able to update anything from the package manager

I just do not like the STMCubeMX way... even seems quite cool to use it. I prefer to do it from scratch and have cleaner code. So, I prefer to use Atollic to create my project, but i found the CMSIS used in my Atollic project is quite out-dated. I followed the guide to install the Keil Package Manager in Atollic, and that approach is now my favorite one, because I can start even a FreeRTOS project avoiding tons of boilerplate code generated by the CubeMX . The only thing I found, is that at least for the STM32F3 Discovery it did not gave me the option to create the startup code, for the STM32F411E Disco I was able to select the startup code. and for both cases, the linker script it is not generated by Atollic... I figured out a workaround creating a dummy project in CubeMX (did i mentioned I do not like it :P) and take the linker file and link it to my project, and voila!

This topic has been closed for replies.

5 replies

AvaTar
Senior III
Feb 14, 2019 6:31 AM UTC

Last time I tried Atollic some while ago, but the toolchain didn't generate a startup file.

It just copied the appropriate file from a "repository" folder to your project.

>... , for the STM32F411E Disco I was able to select the startup code.

Startup files use to be MCU specific. Boards do not matter yet.

EGonz
EGonzAuthor
Associate
Feb 14, 2019 7:22 PM UTC

Actually it is possible:

this is for F4110690X000006DcEuQAK.png

This is my F303:

I have to doble check if using the Keil IDE it is possible, I think it is...

Feb 14, 2019 9:26 AM UTC

Hi !

Can you please tell us where is this guide to use the Keil Package Manager ? I would be interested in doing so...

Best regards,

Kraal

EGonz
EGonzAuthor
Associate
Feb 14, 2019 7:16 PM UTC

Hi,

Download the Keil Package Manager and then from Atollic, set the CMSIS Pack folder

0690X000006DcGHQA0.png