Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning of CMSIS Core missmatch #1638

Open
JavierReyes945 opened this issue Jul 10, 2023 · 3 comments
Open

Versioning of CMSIS Core missmatch #1638

JavierReyes945 opened this issue Jul 10, 2023 · 3 comments

Comments

@JavierReyes945
Copy link

The latest release announced in the repository is the version 5.9.0

Some notes on the previous release 5.8.0 show that there were issues with the version shown in the cmsis_version.h.

At this very moment, the version shown in cmsis_version.h for the release 5.9.0 and newer commits show:

/**************************************************************************//**
 * @file     cmsis_version.h
 * @brief    CMSIS Core(M) Version definitions
 * @version  V5.0.5
 * @date     02. February 2022
 ******************************************************************************/
/*  CMSIS Version definitions */
#define __CM_CMSIS_VERSION_MAIN  ( 5U)                                      /*!< [31:16] CMSIS Core(M) main version */
#define __CM_CMSIS_VERSION_SUB   ( 6U)                                      /*!< [15:0]  CMSIS Core(M) sub version */
#define __CM_CMSIS_VERSION       ((__CM_CMSIS_VERSION_MAIN << 16U) | \
                                   __CM_CMSIS_VERSION_SUB           )       /*!< CMSIS Core(M) version number */
#endif

Which version is supposed to be the CMSIS Core version? Is this an issue with outdated info in cmsis_version.h, or does CMSIS have some other versioning system and what the header shows is not exactly the version of the whole release?

@JonatanAntoni
Copy link
Member

Hi @JavierReyes945,

I appreciate this is a bit confusing. The CMSIS Release version 5.9.0 relates to the bundle while the cmsis_version.h from CMSIS-Core relates to the component version, which is 5.6.0.

Cheers,
Jonatan

@JavierReyes945
Copy link
Author

Hi @JavierReyes945,

I appreciate this is a bit confusing. The CMSIS Release version 5.9.0 relates to the bundle while the cmsis_version.h from CMSIS-Core relates to the component version, which is 5.6.0.

Cheers, Jonatan

Thank you for the clarification. It would be adviceable to document this somewhere, perhaps the main README.md.

@JonatanAntoni
Copy link
Member

Good catch. Perhaps we enhance this for CMSIS 6 here: https://github.com/ARM-software/CMSIS_6.
Would you add a section that reflects your understanding?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants