aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/build.rs
diff options
context:
space:
mode:
authordatdenkikniet <[email protected]>2025-11-12 21:51:55 +0100
committerdatdenkikniet <[email protected]>2025-11-13 23:08:33 +0100
commita021b4940c852f01322a20a7358bc1a549b3d3c4 (patch)
treeca8d84867e656d7dd4d9d46beffb076b2608b240 /embassy-stm32/build.rs
parentaad63ecd597a5b12663bf12329327de6d9cd65f2 (diff)
Move SMA responsibility to SMA peripheral
Diffstat (limited to 'embassy-stm32/build.rs')
-rw-r--r--embassy-stm32/build.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs
index 9dd94941c..8cbd38e10 100644
--- a/embassy-stm32/build.rs
+++ b/embassy-stm32/build.rs
@@ -1404,6 +1404,11 @@ fn main() {
1404 } 1404 }
1405 } 1405 }
1406 1406
1407 // MDIO and MDC are special
1408 if pin.signal == "MDIO" || pin.signal == "MDC" {
1409 peri = format_ident!("{}", "ETH_SMA");
1410 }
1411
1407 // XSPI NCS pin to CSSEL mapping 1412 // XSPI NCS pin to CSSEL mapping
1408 if pin.signal.ends_with("NCS1") { 1413 if pin.signal.ends_with("NCS1") {
1409 g.extend(quote! { 1414 g.extend(quote! {