Include the 9160 in the xtasks
@@ -18,7 +18,7 @@ pub static EXAMPLES: &[(&str, &[&str])] = &[
"ecb-demo",
&["51", "52810", "52811", "52832", "52833", "52840"],
),
- ("hello-world", &["52840"]),
+ ("hello-world", &["52840", "9160"]),
("gpiote-demo", &[]),
("i2s-controller-demo", &[]),
("i2s-peripheral-demo", &[]),
@@ -45,6 +45,7 @@ pub fn feature_to_target(feat: &str) -> &str {
match feat {
"51" => "thumbv6m-none-eabi",
"52810" | "52811" => "thumbv7em-none-eabi",
+ "9160" => "thumbv8m.main-none-eabihf",
_ if feat.starts_with("52") => "thumbv7em-none-eabihf",
_ => panic!("unknown Cargo feature `{}`", feat),
}
