From bcd923a4b003224b67ac2a2c472730f3a05e7590 Mon Sep 17 00:00:00 2001 From: Karun Date: Fri, 19 Apr 2024 11:20:04 -0400 Subject: [PATCH] fix create build pin traits --- embassy-stm32/build.rs | 64 +++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs index a84af258e..8b6720ae8 100644 --- a/embassy-stm32/build.rs +++ b/embassy-stm32/build.rs @@ -1030,38 +1030,38 @@ fn main() { (("octospi", "NCS"), quote!(crate::ospi::NSSPin)), (("octospi", "CLK"), quote!(crate::ospi::SckPin)), (("octospi", "NCLK"), quote!(crate::ospi::NckPin)), - (("tsc", "G1_IO1"), quote!(crate::ospi::G1IO1Pin)), - (("tsc", "G1_IO2"), quote!(crate::ospi::G1IO2Pin)), - (("tsc", "G1_IO3"), quote!(crate::ospi::G1IO3Pin)), - (("tsc", "G1_IO4"), quote!(crate::ospi::G1IO4Pin)), - (("tsc", "G2_IO1"), quote!(crate::ospi::G2IO1Pin)), - (("tsc", "G2_IO2"), quote!(crate::ospi::G2IO2Pin)), - (("tsc", "G2_IO3"), quote!(crate::ospi::G2IO3Pin)), - (("tsc", "G2_IO4"), quote!(crate::ospi::G2IO4Pin)), - (("tsc", "G3_IO1"), quote!(crate::ospi::G3IO1Pin)), - (("tsc", "G3_IO2"), quote!(crate::ospi::G3IO2Pin)), - (("tsc", "G3_IO3"), quote!(crate::ospi::G3IO3Pin)), - (("tsc", "G3_IO4"), quote!(crate::ospi::G3IO4Pin)), - (("tsc", "G4_IO1"), quote!(crate::ospi::G4IO1Pin)), - (("tsc", "G4_IO2"), quote!(crate::ospi::G4IO2Pin)), - (("tsc", "G4_IO3"), quote!(crate::ospi::G4IO3Pin)), - (("tsc", "G4_IO4"), quote!(crate::ospi::G4IO4Pin)), - (("tsc", "G5_IO1"), quote!(crate::ospi::G5IO1Pin)), - (("tsc", "G5_IO2"), quote!(crate::ospi::G5IO2Pin)), - (("tsc", "G5_IO3"), quote!(crate::ospi::G5IO3Pin)), - (("tsc", "G5_IO4"), quote!(crate::ospi::G5IO4Pin)), - (("tsc", "G6_IO1"), quote!(crate::ospi::G6IO1Pin)), - (("tsc", "G6_IO2"), quote!(crate::ospi::G6IO2Pin)), - (("tsc", "G6_IO3"), quote!(crate::ospi::G6IO3Pin)), - (("tsc", "G6_IO4"), quote!(crate::ospi::G6IO4Pin)), - (("tsc", "G7_IO1"), quote!(crate::ospi::G7IO1Pin)), - (("tsc", "G7_IO2"), quote!(crate::ospi::G7IO2Pin)), - (("tsc", "G7_IO3"), quote!(crate::ospi::G7IO3Pin)), - (("tsc", "G7_IO4"), quote!(crate::ospi::G7IO4Pin)), - (("tsc", "G8_IO1"), quote!(crate::ospi::G8IO1Pin)), - (("tsc", "G8_IO2"), quote!(crate::ospi::G8IO2Pin)), - (("tsc", "G8_IO3"), quote!(crate::ospi::G8IO3Pin)), - (("tsc", "G8_IO4"), quote!(crate::ospi::G8IO4Pin)), + (("tsc", "G1_IO1"), quote!(crate::tsc::G1IO1Pin)), + (("tsc", "G1_IO2"), quote!(crate::tsc::G1IO2Pin)), + (("tsc", "G1_IO3"), quote!(crate::tsc::G1IO3Pin)), + (("tsc", "G1_IO4"), quote!(crate::tsc::G1IO4Pin)), + (("tsc", "G2_IO1"), quote!(crate::tsc::G2IO1Pin)), + (("tsc", "G2_IO2"), quote!(crate::tsc::G2IO2Pin)), + (("tsc", "G2_IO3"), quote!(crate::tsc::G2IO3Pin)), + (("tsc", "G2_IO4"), quote!(crate::tsc::G2IO4Pin)), + (("tsc", "G3_IO1"), quote!(crate::tsc::G3IO1Pin)), + (("tsc", "G3_IO2"), quote!(crate::tsc::G3IO2Pin)), + (("tsc", "G3_IO3"), quote!(crate::tsc::G3IO3Pin)), + (("tsc", "G3_IO4"), quote!(crate::tsc::G3IO4Pin)), + (("tsc", "G4_IO1"), quote!(crate::tsc::G4IO1Pin)), + (("tsc", "G4_IO2"), quote!(crate::tsc::G4IO2Pin)), + (("tsc", "G4_IO3"), quote!(crate::tsc::G4IO3Pin)), + (("tsc", "G4_IO4"), quote!(crate::tsc::G4IO4Pin)), + (("tsc", "G5_IO1"), quote!(crate::tsc::G5IO1Pin)), + (("tsc", "G5_IO2"), quote!(crate::tsc::G5IO2Pin)), + (("tsc", "G5_IO3"), quote!(crate::tsc::G5IO3Pin)), + (("tsc", "G5_IO4"), quote!(crate::tsc::G5IO4Pin)), + (("tsc", "G6_IO1"), quote!(crate::tsc::G6IO1Pin)), + (("tsc", "G6_IO2"), quote!(crate::tsc::G6IO2Pin)), + (("tsc", "G6_IO3"), quote!(crate::tsc::G6IO3Pin)), + (("tsc", "G6_IO4"), quote!(crate::tsc::G6IO4Pin)), + (("tsc", "G7_IO1"), quote!(crate::tsc::G7IO1Pin)), + (("tsc", "G7_IO2"), quote!(crate::tsc::G7IO2Pin)), + (("tsc", "G7_IO3"), quote!(crate::tsc::G7IO3Pin)), + (("tsc", "G7_IO4"), quote!(crate::tsc::G7IO4Pin)), + (("tsc", "G8_IO1"), quote!(crate::tsc::G8IO1Pin)), + (("tsc", "G8_IO2"), quote!(crate::tsc::G8IO2Pin)), + (("tsc", "G8_IO3"), quote!(crate::tsc::G8IO3Pin)), + (("tsc", "G8_IO4"), quote!(crate::tsc::G8IO4Pin)), ].into(); for p in METADATA.peripherals {