Skip to content

Commit

Permalink
stm32u5: Add support for HSPI peripheral
Browse files Browse the repository at this point in the history
  • Loading branch information
williams-one committed Dec 19, 2024
1 parent 32a5d32 commit a2e3bf9
Show file tree
Hide file tree
Showing 4 changed files with 1,443 additions and 0 deletions.
22 changes: 22 additions & 0 deletions embassy-stm32/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,27 @@ fn main() {
(("octospim", "P2_NCS"), quote!(crate::ospi::NSSPin)),
(("octospim", "P2_CLK"), quote!(crate::ospi::SckPin)),
(("octospim", "P2_NCLK"), quote!(crate::ospi::NckPin)),
(("hspi", "IO0"), quote!(crate::hspi::D0Pin)),
(("hspi", "IO1"), quote!(crate::hspi::D1Pin)),
(("hspi", "IO2"), quote!(crate::hspi::D2Pin)),
(("hspi", "IO3"), quote!(crate::hspi::D3Pin)),
(("hspi", "IO4"), quote!(crate::hspi::D4Pin)),
(("hspi", "IO5"), quote!(crate::hspi::D5Pin)),
(("hspi", "IO6"), quote!(crate::hspi::D6Pin)),
(("hspi", "IO7"), quote!(crate::hspi::D7Pin)),
(("hspi", "IO8"), quote!(crate::hspi::D8Pin)),
(("hspi", "IO9"), quote!(crate::hspi::D9Pin)),
(("hspi", "IO10"), quote!(crate::hspi::D10Pin)),
(("hspi", "IO11"), quote!(crate::hspi::D11Pin)),
(("hspi", "IO12"), quote!(crate::hspi::D12Pin)),
(("hspi", "IO13"), quote!(crate::hspi::D13Pin)),
(("hspi", "IO14"), quote!(crate::hspi::D14Pin)),
(("hspi", "IO15"), quote!(crate::hspi::D15Pin)),
(("hspi", "DQS0"), quote!(crate::hspi::DQS0Pin)),
(("hspi", "DQS1"), quote!(crate::hspi::DQS1Pin)),
(("hspi", "NCS"), quote!(crate::hspi::NSSPin)),
(("hspi", "CLK"), quote!(crate::hspi::SckPin)),
(("hspi", "NCLK"), quote!(crate::hspi::NckPin)),
(("tsc", "G1_IO1"), quote!(crate::tsc::G1IO1Pin)),
(("tsc", "G1_IO2"), quote!(crate::tsc::G1IO2Pin)),
(("tsc", "G1_IO3"), quote!(crate::tsc::G1IO3Pin)),
Expand Down Expand Up @@ -1264,6 +1285,7 @@ fn main() {
(("sdmmc", "RX"), quote!(crate::sdmmc::SdmmcDma)),
(("quadspi", "QUADSPI"), quote!(crate::qspi::QuadDma)),
(("octospi", "OCTOSPI1"), quote!(crate::ospi::OctoDma)),
(("hspi", "HSPI1"), quote!(crate::hspi::HspiDma)),
(("dac", "CH1"), quote!(crate::dac::DacDma1)),
(("dac", "CH2"), quote!(crate::dac::DacDma2)),
(("timer", "UP"), quote!(crate::timer::UpDma)),
Expand Down
Loading

0 comments on commit a2e3bf9

Please sign in to comment.