aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-03-15 19:47:05 +0100
committerDario Nieuwenhuis <[email protected]>2024-03-15 19:47:05 +0100
commit0f0301843487a921a5ef57eb8972971181ea0024 (patch)
tree5ed497413a8dc1b3611f3eb1b5fe16ea0012ee6c /tests
parent067e677ae5c3c765bca1db6e4cb7aef5de163086 (diff)
tests/stm32: run ucpd only on g0.
Diffstat (limited to 'tests')
-rw-r--r--tests/stm32/Cargo.toml2
-rw-r--r--tests/stm32/src/bin/ucpd.rs1
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]]
165name = "ucpd" 165name = "ucpd"
166path = "src/bin/ucpd.rs" 166path = "src/bin/ucpd.rs"
167required-features = [] 167required-features = [ "ucpd",]
168 168
169[[bin]] 169[[bin]]
170name = "usart" 170name = "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"]