diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-03-15 19:47:05 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-03-15 19:47:05 +0100 |
| commit | 0f0301843487a921a5ef57eb8972971181ea0024 (patch) | |
| tree | 5ed497413a8dc1b3611f3eb1b5fe16ea0012ee6c /tests | |
| parent | 067e677ae5c3c765bca1db6e4cb7aef5de163086 (diff) | |
tests/stm32: run ucpd only on g0.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/stm32/Cargo.toml | 2 | ||||
| -rw-r--r-- | tests/stm32/src/bin/ucpd.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/stm32/Cargo.toml b/tests/stm32/Cargo.toml index 0332fc526..e42470004 100644 --- a/tests/stm32/Cargo.toml +++ b/tests/stm32/Cargo.toml | |||
| @@ -164,7 +164,7 @@ required-features = [] | |||
| 164 | [[bin]] | 164 | [[bin]] |
| 165 | name = "ucpd" | 165 | name = "ucpd" |
| 166 | path = "src/bin/ucpd.rs" | 166 | path = "src/bin/ucpd.rs" |
| 167 | required-features = [] | 167 | required-features = [ "ucpd",] |
| 168 | 168 | ||
| 169 | [[bin]] | 169 | [[bin]] |
| 170 | name = "usart" | 170 | name = "usart" |
diff --git a/tests/stm32/src/bin/ucpd.rs b/tests/stm32/src/bin/ucpd.rs index daaa56c32..c09334ec8 100644 --- a/tests/stm32/src/bin/ucpd.rs +++ b/tests/stm32/src/bin/ucpd.rs | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // required-features: ucpd | ||
| 1 | #![no_std] | 2 | #![no_std] |
| 2 | #![no_main] | 3 | #![no_main] |
| 3 | #[path = "../common.rs"] | 4 | #[path = "../common.rs"] |
