2019-02-13 07:29 PM
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!
2019-02-13 10:31 PM
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.
2019-02-14 01:26 AM
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
2019-02-14 11:16 AM
Hi,
Download the Keil Package Manager and then from Atollic, set the CMSIS Pack folder
2019-02-14 11:22 AM
Actually it is possible:
this is for F411
This is my F303:
I have to doble check if using the Keil IDE it is possible, I think it is...
2019-02-14 12:50 PM
@Kraal
Here is the entire Keil uVision user guide:
http://www.keil.com/support/man/docs/uv4/uv4_ca_packinstaller.htm
-- pa