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

Check-in all RAL sources #67

Merged
merged 5 commits into from
Jun 30, 2020
Merged

Check-in all RAL sources #67

merged 5 commits into from
Jun 30, 2020

Conversation

mciantyre
Copy link
Member

@mciantyre mciantyre commented Jun 29, 2020

The PR adds all RAL sources to the repo. It undoes #15.

This PR is in draft until we identify a way to maintain consistency with imxrtral.py. Whatever solution we choose will target this branch. We'll review the approach, and merge it into this branch. Then, we'll merge everything into master. This should make it easier for us to isolate the interesting changes from the RAL noise.

The gen-ral job

- ensures that imxrtral.py works
- ensures that the Makefile works
- ensures that the user hasn't commited RAL changes that aren't
  described in imxrtral.py

The job will generate the RAL over the existing RAL. We check git to
see if anything changes. If there are untracked changes, we fail the
job.
Default Makefile behavior will compile all of the crates. We're
just interested in checking consistency with what's auto-generated,
since successful builds will be checked by separate jobs. Create a
new 'ci' Makefile target that does everything 'all' does, except
checking the Rust code.
@mciantyre mciantyre marked this pull request as ready for review June 30, 2020 21:55
@mciantyre mciantyre merged commit d62bd49 into master Jun 30, 2020
@mciantyre mciantyre deleted the check-in-ral branch June 30, 2020 21:56
mitchmindtree added a commit to mitchmindtree/teensy4-rs that referenced this pull request Jul 1, 2020
As of imxrt-rs/imxrt-hal#67 and imxrt-rs/imxrt-hal#68 the `ral` workaround
is no longer necessary.

As of imxrt-rs/imxrt-hal#69 `Peripherals::steal` is available on the
master branch.
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.

1 participant