summaryrefslogtreecommitdiff
path: root/stm32-gen-features
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2021-11-23 23:49:06 +0100
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2021-11-23 23:49:06 +0100
commitdfb6d407a1b23f913b7584611099042f36144c5c (patch)
treef132b6908f9adda329a48b44d6e9afc0f7171437 /stm32-gen-features
parent039621c56de5518b178da8749fc0c9870f8a6b45 (diff)
downloadembassy-dfb6d407a1b23f913b7584611099042f36144c5c.zip
stm32: rename core features from _cmX to -cmX, cleanup gen.
Diffstat (limited to 'stm32-gen-features')
-rw-r--r--stm32-gen-features/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm32-gen-features/src/lib.rs b/stm32-gen-features/src/lib.rs
index 756f4da8..29ea94a4 100644
--- a/stm32-gen-features/src/lib.rs
+++ b/stm32-gen-features/src/lib.rs
@@ -123,7 +123,7 @@ pub fn stm32_metapac_needed_data(names_and_cores: &[(String, Vec<String>)]) -> S
for (chip_name, cores) in names_and_cores {
if cores.len() > 1 {
for core_name in cores {
- result += &format!("{}_{} = []\n", chip_name, core_name);
+ result += &format!("{}-{} = []\n", chip_name, core_name);
}
} else {
result += &format!("{} = []\n", chip_name);