mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 21:05:35 +01:00
ci: Check at least one C3 target
This commit is contained in:
parent
0f5ddeff8d
commit
cfcf21ffe4
2 changed files with 8 additions and 3 deletions
|
|
@ -138,7 +138,7 @@ impl TestMetadata {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(clap::ValueEnum, Copy, Clone, Default, Debug)]
|
||||
#[derive(clap::ValueEnum, Copy, Clone, Default, Debug, PartialEq)]
|
||||
pub enum Backends {
|
||||
Thumbv6,
|
||||
#[default]
|
||||
|
|
@ -193,7 +193,9 @@ impl Backends {
|
|||
|
||||
#[allow(clippy::wrong_self_convention)]
|
||||
pub fn to_rtic_monotonics_features(&self, partial: bool) -> Option<&[&str]> {
|
||||
if !self.is_arm() {
|
||||
if self == &Self::RiscvEsp32C3 {
|
||||
Some(&["esp32c3-systimer"])
|
||||
} else if !self.is_arm() {
|
||||
None
|
||||
} else if partial {
|
||||
Some(&[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue