diff options
| author | i509VCB <[email protected]> | 2025-03-22 19:27:52 -0500 |
|---|---|---|
| committer | i509VCB <[email protected]> | 2025-03-22 19:27:52 -0500 |
| commit | 73c0bad8ad398c072215c8ff4382dffbe1a6a057 (patch) | |
| tree | 87a4ad22d79a255874dae89d97dd7260f754b9da | |
| parent | 07da54ec18ce5c8dbd07b3d894665e54b75dbe52 (diff) | |
mspm0: remove todo comment about pin names with slash
these are now gone from metapac
| -rw-r--r-- | embassy-mspm0/build.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/embassy-mspm0/build.rs b/embassy-mspm0/build.rs index 9025c337a..39d8b2f8a 100644 --- a/embassy-mspm0/build.rs +++ b/embassy-mspm0/build.rs | |||
| @@ -135,9 +135,6 @@ fn get_singletons(cfgs: &mut common::CfgSet) -> Vec<Singleton> { | |||
| 135 | }); | 135 | }); |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | // TODO: Remove `/` signals from metapac (PA1/NRST on C110x for example) | ||
| 139 | singletons.retain(|s| !s.name.contains('/')); | ||
| 140 | |||
| 141 | singletons.sort_by(|a, b| a.name.cmp(&b.name)); | 138 | singletons.sort_by(|a, b| a.name.cmp(&b.name)); |
| 142 | singletons | 139 | singletons |
| 143 | } | 140 | } |
| @@ -403,11 +400,6 @@ fn generate_pin_trait_impls() -> TokenStream { | |||
| 403 | 400 | ||
| 404 | for peripheral in METADATA.peripherals { | 401 | for peripheral in METADATA.peripherals { |
| 405 | for pin in peripheral.pins { | 402 | for pin in peripheral.pins { |
| 406 | // TODO: Remove `/` signals from metapac (PA1/NRST on C110x for example) | ||
| 407 | if pin.pin.contains('/') { | ||
| 408 | continue; | ||
| 409 | } | ||
| 410 | |||
| 411 | let key = (peripheral.kind, pin.signal); | 403 | let key = (peripheral.kind, pin.signal); |
| 412 | 404 | ||
| 413 | let pin_name = format_ident!("{}", pin.pin); | 405 | let pin_name = format_ident!("{}", pin.pin); |
