Skip to content

west.yml: Import cmsis_6 to be used by SOF for Cortex-M targets - #10019

Merged
dbaluta merged 1 commit into
thesofproject:mainfrom
dbaluta:fix_m_build
May 19, 2025
Merged

west.yml: Import cmsis_6 to be used by SOF for Cortex-M targets#10019
dbaluta merged 1 commit into
thesofproject:mainfrom
dbaluta:fix_m_build

Conversation

@dbaluta

Copy link
Copy Markdown
Collaborator

After commit
f726cb5123eda12fe ("modules: CMSIS_6: Switch to CMSIS_6 for Cortex-M") SOF needs cmsis_6 to be used for Cortex-M (imx95).

So import cmsis_6 and fix the compilation error.

Fixes: #10014

CopilotAI review requested due to automatic review settings May 19, 2025 07:29

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

A concise update to the manifest file to import the cmsis_6 dependency required for Cortex-M targets, specifically addressing the compilation error for SOF on IMX95.

  • Imported cmsis_6 into the manifest
  • Fixed compilation issues related to missing dependency

Comment threadwest.yml
- lz4
- tinycrypt
- cmsis
- cmsis_6

CopilotAIMay 19, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that including both 'cmsis' and 'cmsis_6' is intentional; if they serve different purposes, consider adding a clarifying comment to explain their roles.

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on this commit zephyrproject-rtos/zephyr@f726cb5123eda12fe I would say that cmsis_6 is enough for SOF since we only support Cortex M (no Cortex A/R which uses cmsis).
So, please change cmsis with cmsis_6.

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. thanks @iuliana-prodan

@dbaluta
dbalutaforce-pushed the fix_m_build branch 2 times, most recently from 1ef4c94 to 0c737b6CompareMay 19, 2025 08:48
After commit
f726cb5123eda ("modules: CMSIS_6: Switch to CMSIS_6 for Cortex-M")
SOF needs cmsis_6 to be used for Cortex-M (imx95).
So import cmsis_6 and fix the compilation error.
Since we only support Cortex-M targets (no Cortex A/R) let's get rid of
cmsis import to reduce import time.
Fixes: thesofproject#10014
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
@dbaluta
dbaluta merged commit e9ea28a into thesofproject:mainMay 19, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] IMX95 build fails with May15 Zephyr main

4 participants

@dbaluta@kv2019i@iuliana-prodan