Skip to content

Commit 23cb930

Browse files
authored
Merge pull request #3791 from embassy-rs/fix-split-pins
Fix issue with enabled split-pxy feature
2 parents eda5167 + 3de0a21 commit 23cb930

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ cargo batch \
129129
--- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f730i8,defmt,exti,time-driver-any,time \
130130
--- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h753zi,defmt,exti,time-driver-any,time \
131131
--- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h735zg,defmt,exti,time-driver-any,time \
132-
--- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h755zi-cm7,defmt,exti,time-driver-any,time \
132+
--- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h755zi-cm7,defmt,exti,time-driver-any,time,split-pc2,split-pc3 \
133133
--- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h725re,defmt,exti,time-driver-any,time \
134134
--- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7b3ai,defmt,exti,time-driver-any,time \
135135
--- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h7b3ai,defmt,exti,time-driver-tim1,time \

embassy-stm32/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ fn main() {
15341534
// This should avoid unintended side-effects as much as possible.
15351535
#[cfg(feature = "_split-pins-enabled")]
15361536
for split_feature in &split_features {
1537-
if split_feature.pin_name_without_c == pin_name {
1537+
if split_feature.pin_name_without_c == pin.name {
15381538
pins_table.push(vec![
15391539
split_feature.pin_name_with_c.to_string(),
15401540
p.name.to_string(),

0 commit comments

Comments
 (0)