aboutsummaryrefslogtreecommitdiff
path: root/embassy-mspm0/build.rs
diff options
context:
space:
mode:
authori509VCB <[email protected]>2025-03-13 22:26:06 -0500
committeri509VCB <[email protected]>2025-03-13 22:26:06 -0500
commit9531b7422b0bf231d5782bb60b65eeb823b199ff (patch)
treeefc75368b0d8f7288770edc28d529d6c4f3f433b /embassy-mspm0/build.rs
parente0cdc356ccd7f9e20c2b5355cc52b7eb7610147b (diff)
rustfmt...
Diffstat (limited to 'embassy-mspm0/build.rs')
-rw-r--r--embassy-mspm0/build.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/embassy-mspm0/build.rs b/embassy-mspm0/build.rs
index ffbe15c56..8c6dd4a5c 100644
--- a/embassy-mspm0/build.rs
+++ b/embassy-mspm0/build.rs
@@ -107,11 +107,7 @@ fn generate_code() {
107 } 107 }
108 108
109 // Generate timers 109 // Generate timers
110 for peripheral in METADATA 110 for peripheral in METADATA.peripherals.iter().filter(|p| p.name.starts_with("TIM")) {
111 .peripherals
112 .iter()
113 .filter(|p| p.name.starts_with("TIM"))
114 {
115 let name = Ident::new(&peripheral.name, Span::call_site()); 111 let name = Ident::new(&peripheral.name, Span::call_site());
116 let timers = &*TIMERS; 112 let timers = &*TIMERS;
117 113
@@ -225,8 +221,7 @@ fn time_driver(singletons: &[String], cfgs: &mut CfgSet) {
225 // TODO: 32-bit timers are not considered yet 221 // TODO: 32-bit timers are not considered yet
226 [ 222 [
227 // 16-bit, 2 channel 223 // 16-bit, 2 channel
228 "TIMG0", "TIMG1", "TIMG2", "TIMG3", 224 "TIMG0", "TIMG1", "TIMG2", "TIMG3", // 16-bit, 2 channel with shadow registers
229 // 16-bit, 2 channel with shadow registers
230 "TIMG4", "TIMG5", "TIMG6", "TIMG7", // 16-bit, 4 channel 225 "TIMG4", "TIMG5", "TIMG6", "TIMG7", // 16-bit, 4 channel
231 "TIMG14", // 16-bit with QEI 226 "TIMG14", // 16-bit with QEI
232 "TIMG8", "TIMG9", "TIMG10", "TIMG11", // Advanced timers 227 "TIMG8", "TIMG9", "TIMG10", "TIMG11", // Advanced timers