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

feat(Other): Enable building zephyr for risc-v targets #1051

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MaureenHelm
Copy link
Contributor

Configures the zephyr build system to use the appropriate cmsis system startup and peripheral driver sources based on the target core architecture. The mxc lock driver is not implemented for risc-v and emits a build warning (which twister promotes to an error), therefore the zephyr build system is configured to build it only for arm.

Before this patch, we could only build zephyr for arm targets, but now we can build zephyr for arm or risc-v targets.

Checklist Before Requesting Review

  • PR Title follows correct guidelines.
  • Description of changes and all other relevant information.
  • (Optional) Link any related GitHub issues using a keyword
  • (Optional) Provide info on any relevant functional testing/validation. For API changes or significant features, this is not optional.

Configures the zephyr build system to use the appropriate cmsis system
startup and peripheral driver sources based on the target core
architecture. The mxc lock driver is not implemented for risc-v and
emits a build warning (which twister promotes to an error), therefore
the zephyr build system is configured to build it only for arm.

Before this patch, we could only build zephyr for arm targets, but now
we can build zephyr for arm or risc-v targets.

Signed-off-by: Maureen Helm <[email protected]>
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

Successfully merging this pull request may close these issues.

None yet

2 participants