forked from imxrt-rs/imxrt-hal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove artifacts of non-existent feature: imxrt-rs#122 (comment) - remove constrain function and use core::cmp::Ordering::clamp trait: imxrt-rs#122 (comment) - fix to add Can to ccm mod - remove const def of base registers - fix to hard code Can clock source to OSC see: imxrt-rs#122 (comment) - update to add new iomuxc crate
- Loading branch information
1 parent
081d027
commit bff2cae
Showing
18 changed files
with
955 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
# imxrt1060-hal | ||
# imxrt-hal | ||
|
||
`imxrt1060-hal` is a Rust hardware abstraction layer that's specific to i.MX | ||
RT 1060 processors. This includes some of the following processor parts: | ||
This project provides a Rust HAL (hardware abstraction layer) for all NXP i.MX RT | ||
microcontrollers based on the imxrt-ral crate. | ||
|
||
- i.MX RT 1061 | ||
- i.MX RT 1062 | ||
A feature flag needs to be set for any of the supported i.MX RT SoC. | ||
|
||
It is the successor to `imxrt-hal`, version 0.4, with `feature = "imxrt1062"`. | ||
## What is it? | ||
|
||
## Features | ||
imxrt-hal is an experiment into a lightweight hardware abstraction layer. It | ||
provides access to some of the peripherals of the i.MX RT series processors | ||
from NXP using embedded-hal and other community driven hardware APIs. | ||
|
||
The table below describes the optional features supported by `imxrt1060-hal`. | ||
The main aims are fast compilation, compactness, and simplicity. | ||
|
||
| Feature | Description | | ||
| -------- | ---------------------------------- | | ||
| `"rt"` | Runtime support with `cortex-m-rt` | | ||
| `"rtic"` | Support for RTIC | | ||
Please consider trying it out and contributing or leaving feedback! | ||
|
||
## Goals | ||
|
||
* Simple to use and hard to use incorrectly | ||
* All peripherals and busses supported | ||
* Support the entire i.MX RT Series with a single crate to maximize code reuse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.