cancel
Showing results for 
Search instead for 
Did you mean: 

CMSIS version for cmsis_device_f3

mete
Senior II

 

It says "It is crucial that you use a consistent set of versions for the CMSIS Core - CMSIS Device, as mentioned in this release note." but I do not see any CMSIS version in the release notes. Which CMSIS version is recommended for cmsis_device_f3 ?

1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief III

Maybe its helping you, to look in your drive/directory :

STM32Cube/Repository/STM32Cube_FW_F3_V1.11.4/Drivers/CMSIS/

in README.md (in my repo. ) :

>>

# CMSIS Version 5

The branch *master* of this GitHub repository contains the CMSIS Version 5.4.0. The [documentation](http://arm-software.github.io/CMSIS_5/General/html/index.html) is available under http://arm-software.github.io/CMSIS_5/General/html/index.html

...

<<

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

View solution in original post

4 REPLIES 4
AScha.3
Chief III

Maybe its helping you, to look in your drive/directory :

STM32Cube/Repository/STM32Cube_FW_F3_V1.11.4/Drivers/CMSIS/

in README.md (in my repo. ) :

>>

# CMSIS Version 5

The branch *master* of this GitHub repository contains the CMSIS Version 5.4.0. The [documentation](http://arm-software.github.io/CMSIS_5/General/html/index.html) is available under http://arm-software.github.io/CMSIS_5/General/html/index.html

...

<<

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

Thanks !

Hi

Can you elborade at any point in the file README. MD says to use version V1.

I followed the MOOC tutorial to another controller. It used version V2.
Nucleo STM32F303RE didn't work on it.

I ask this purely for learning purposes.

My experience:

You should see the CMSIS version when reading some "readme.txt", "readme.md" or other files coming with it.
Often, there are also comments in the C-code files for CMSIS to realize the version.

Important: CMSIS v1.x vs. v2.xx:
Changing to a newer version can break, because some function calls are changed now. Your original code, e.g. examples, HAL drivers, CubeMX generated code might assume a specific version of CMSIS.

You can still "upgrade" to a newer CMSIS version, but you had to modify potentially your code (and HAL drivers), some macro settings etc.

I suggest: go with the STM32 examples, the CubeMX code generated, without to update CMSIS (e.g. from V1 to V2 by overwriting the CMSIS directory in your project). It can break all, but it can be fixed by modifying all code using CMSIS V2 now.