Skip to content

Commit 961a4d0

Browse files
committed
Include the 9160 in the xtasks
1 parent c07f02d commit 961a4d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xtask/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub static EXAMPLES: &[(&str, &[&str])] = &[
1818
"ecb-demo",
1919
&["51", "52810", "52811", "52832", "52833", "52840"],
2020
),
21-
("hello-world", &["52840"]),
21+
("hello-world", &["52840", "9160"]),
2222
("gpiote-demo", &[]),
2323
("i2s-controller-demo", &[]),
2424
("i2s-peripheral-demo", &[]),
@@ -45,6 +45,7 @@ pub fn feature_to_target(feat: &str) -> &str {
4545
match feat {
4646
"51" => "thumbv6m-none-eabi",
4747
"52810" | "52811" => "thumbv7em-none-eabi",
48+
"9160" => "thumbv8m.main-none-eabihf",
4849
_ if feat.starts_with("52") => "thumbv7em-none-eabihf",
4950
_ => panic!("unknown Cargo feature `{}`", feat),
5051
}

0 commit comments

Comments
 (0)