Skip to content

Conversation

mathieuchopstm
Copy link
Contributor

This reverts commit a90a47b.

This commit was written with CMSIS 5 in mind, where some Cortex-M cores have "SHP" in the SCB_Type, and some have "SHPR". This is not correct as Zephyr is supposed to be using CMSIS 6 for Cortex-M... but CI actually picks up CMSIS 5 instead (it includes both with CMSIS 5 taking priority).

The end result is that Zephyr's CI builds this happily but it causes build failures on downstream users (e.g., example-application).

Revert the commit now, as it is not used yet by anyone. The revised version using only "SHPR" shall be reintroduced once the CI issue has been fixed.

See also: #93161 / #93689 / #93699

@mathieuchopstm mathieuchopstm added the Hotfix Fix for issues blocking development, i.e. upstream CI issues, tests failing in upstream CI , etc. label Jul 25, 2025
@zephyrbot zephyrbot added area: Architectures area: ARM ARM (32-bit) Architecture labels Jul 25, 2025
@henrikbrixandersen
Copy link
Member

CC: @msmttchr

This reverts commit a90a47b.

This commit was written with CMSIS 5 in mind, where some Cortex-M cores
have "SHP" in the SCB_Type, and some have "SHPR". This is not correct as
Zephyr is *supposed* to be using CMSIS 6 for Cortex-M... but CI actually
picks up CMSIS 5 instead (it includes both with CMSIS 5 taking priority).

The end result is that Zephyr's CI builds this happily but it causes build
failures on downstream users (e.g., example-application).

Revert the commit now, as it is not used yet by anyone. The revised version
using only "SHPR" shall be reintroduced once the CI issue has been fixed.

Signed-off-by: Mathieu Choplain <[email protected]>
@mathieuchopstm mathieuchopstm force-pushed the revert_scb_bkp_restore branch from cefe797 to 6ce952d Compare July 25, 2025 09:01
Copy link

@henrikbrixandersen henrikbrixandersen requested a review from a team July 25, 2025 09:16
@fabiobaltieri fabiobaltieri merged commit cba9dce into zephyrproject-rtos:main Jul 25, 2025
30 checks passed
@mathieuchopstm mathieuchopstm deleted the revert_scb_bkp_restore branch July 25, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Architectures area: ARM ARM (32-bit) Architecture Hotfix Fix for issues blocking development, i.e. upstream CI issues, tests failing in upstream CI , etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants