cancel
Showing results for 
Search instead for 
Did you mean: 

"Create empty project" does not provide CMSIS files

mark03
Visitor

I just downloaded the prerelease (3.something) of the official VS Code extension and created a new project.  By and large, I like it.  It's especially nice that there is an "empty project" option for those that don't want to use HAL or LL functions.  But I was surprised that this does *not* provide the standard CMSIS header files (stm32l4xx.h and so on, for my project on a Nucleo L476).  In fact, searching my entire hard disk, the CMSIS headers were never installed with the extension.  Was there another software bundle I should have downloaded?  I don't see anything in the list.

Besides the basic headers, it would be great if there were also a check-box to say if you want to use the DSP library (or other CMSIS libraries), then automatically configure the cmake project accordingly.  But for sure the basic header files should be included.  I mean, I guess you can argue that "empty" means "empty" ;) but in that case, why provide the startup assembly code and linker script?

Mark

3 REPLIES 3
Cartu38 OpenDev
Lead II

"empty" means "empty"  ... I guess so 

"why provide the startup assembly code and linker script?" ... my guess still is helps at least to get bare min buildable project.

CMSIS package(s) can always be retrieved from https://www.keil.arm.com/packs/

 

AScha.3
Super User

Ok, so > Create empty project < is bad, if it creates nothing ? Thats what you asked for, right ?

If you feel a post has answered your question, please click "Accept as Solution".
mark03
Visitor

I was somewhat joking when I said "I guess empty means empty."  I mean, sure, if you want to get legalistic about it.  But I can't imagine an application that doesn't use the CMSIS register definitions.  That's just obviously part of every project.  So an "empty" project should mean a basic skeleton, using CMSIS, but without Cube-generated libraries, HAL, LL, and so on.

It does seem to me that this is the only sane way to understand things.  But if there is a secret society of people building their STM32 projects using numeric memory addresses for registers and no CMSIS, please enlighten me :)

Anyhow, please accept this as a suggestion for the next release.  Thanks!

Mark