Skip to main content
Zack
Associate II
March 3, 2024
Solved

CubeMX does not fit the new cmsis v6 on Keil.

  • March 3, 2024
  • 1 reply
  • 1920 views

CMSIS need to be updated to the new version.

The version 6 changes some register name in header file.(Drivers\CMSIS\Core\Include\core_cm4.h  etc.)

Tested on MCU package F3 v1.11.4 and G0 v1.6.2. Guessing all MCU package using CMSIS v5.0.3.

 

Best answer by STTwo-32

Hello @Zack 

I've escalated your request internally to the concerned team for analysis and further investigation (through Internal ticket number: 175309)

(PS: Internal ticket number 175309 is only for reference, not available outside of ST).

Best Regards.

STTwo-32

1 reply

STTwo-32
Technical Moderator
March 3, 2024

Hello @Zack 

As you can see in this post.  This request has been escalated internally to CubeMX team for analysis and further investigation.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Zack
ZackAuthor
Associate II
March 4, 2024

Hi @STTwo-32 

Not quite the same as in the post.

The default CMSIS header file used in STM32Cube Firmware Package needs to be upgraded to version V6.

As an example:

STM32Cube\Repository\STM32Cube_FW_F3_V1.11.4\Drivers\CMSIS\Core\Include\core_cm4.h

SCB->SHP changed to SCB->SHPR in cmsis v6(not Keil v6) and in some cases (e.g. CubeMX generating a Keil project, adding rtos-rtx in Keil) will result in compilation errors.

 

STTwo-32
STTwo-32Best answer
Technical Moderator
March 5, 2024

Hello @Zack 

I've escalated your request internally to the concerned team for analysis and further investigation (through Internal ticket number: 175309)

(PS: Internal ticket number 175309 is only for reference, not available outside of ST).

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.