Skip to content

Commit

Permalink
hal: fix feature naming discrepancies
Browse files Browse the repository at this point in the history
See the previous commit for more details. This commit updates the HAL
to use the NXP product identifies, instead of our custom "x" suffix.
  • Loading branch information
mciantyre committed Oct 17, 2020
1 parent c93aa0d commit e0c40cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion imxrt-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ default = ["embedded-hal/unproven"] # Allows us to access the new digital pin tr
#imxrt1051 = ["imxrt-ral/imxrt1051"]
#imxrt1052 = ["imxrt-ral/imxrt1052"]
#imxrt1061 = ["imxrt-ral/imxrt1061"]
imxrt1062 = ["imxrt-ral/imxrt1062", "imxrt-iomuxc/imxrt106x"]
imxrt1062 = ["imxrt-ral/imxrt1062", "imxrt-iomuxc/imxrt1060"]
#imxrt1064 = ["imxrt-ral/imxrt1064"]
rtic = ["imxrt-ral/rtic"]
rt = ["imxrt-ral/rt"]
Expand Down
4 changes: 2 additions & 2 deletions imxrt-hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! NXP iMXRT hardware abstraction layer
//!
//! An [`embedded-hal`](https://crates.io/crates/embedded-hal) implementation
//! targeting processors in NXP's IMXRT106x family.
//! targeting processors in NXP's IMXRT1060 family.
//!
//! See the module-level documentation for more information and examples.
Expand All @@ -17,7 +17,7 @@ pub mod iomuxc {
pub use imxrt_iomuxc::*;

#[cfg(feature = "imxrt1062")]
pub use imxrt_iomuxc::imxrt106x::*;
pub use imxrt_iomuxc::imxrt1060::*;

/// Use this function to acquire the IOMUXC pads. It requires that you have an
/// instance to the RAL's IOMUXC instance.
Expand Down

0 comments on commit e0c40cc

Please sign in to comment.