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

Remove the cortex_m module #8

Closed
wants to merge 5 commits into from
Closed

Remove the cortex_m module #8

wants to merge 5 commits into from

Conversation

mciantyre
Copy link
Member

The PR removes the imxrt_ral::cortex_m module from the crate. We remove all build steps, all CM-related SVDs and patches, and the code generation routines.

This is a breaking change. Users who are interested in an API for Cortex-M peripherals should consider the cortex-m crate.

Closes #7.

This commit removes the Cortex-M peripheral API from imxrt-ral.
Consider using the cortex-m crate to access CM peripherals.

This is a breaking change, since there may be users who are depending
on the cortex_m module in imxrt-ral.
The special member was set to True whenever the device represented
a Cortex-M device. Since we're no longer supporting Cortex-M
peripherals, we don't need to distinguish these kinds of devices.
Since we don't have to distinguish between our cortex-m module, and
the external cortex-m dependency, we can bring back the default name
for the cortex-m crate.
@mciantyre mciantyre marked this pull request as ready for review April 8, 2021 19:03
@mciantyre mciantyre mentioned this pull request Apr 8, 2021
@mciantyre mciantyre mentioned this pull request Apr 10, 2021
@mciantyre mciantyre closed this Apr 10, 2021
@mciantyre mciantyre deleted the remove-cortexm branch April 10, 2021 01:47
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.

Removing Cortex-M peripheral API
2 participants