Skip to content

Commit

Permalink
Add h757 to lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
richardeoin committed Nov 22, 2019
1 parent 1637a03 commit e45bcf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ compile_error!(
stm32h753v
stm32h750v
stm32h747cm7
stm32h757cm7
"
);

Expand Down Expand Up @@ -47,6 +48,8 @@ pub use stm32h7::stm32h753v as stm32;
// Dual core
#[cfg(any(feature = "stm32h747cm7",))]
pub use stm32h7::stm32h747cm7 as stm32;
#[cfg(any(feature = "stm32h757cm7",))]
pub use stm32h7::stm32h757cm7 as stm32;

#[cfg(all(feature = "singlecore", feature = "dualcore"))]
compile_error!("Cannot not select both singlecore and dualcore");
Expand Down

0 comments on commit e45bcf5

Please sign in to comment.