File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ cortex-m-semihosting = "0.5.0"
79
79
panic-itm = { version = " ~0.4.1" }
80
80
panic-probe = " 0.3.2"
81
81
panic-semihosting = " 0.6"
82
- embedded-test = " 0.6.1"
83
82
84
83
[profile .release ]
85
84
codegen-units = 1 # better optimizations
@@ -93,11 +92,3 @@ name = "blinky"
93
92
[[example ]]
94
93
name = " i2c"
95
94
required-features = [" stm32h503" ]
96
-
97
- [[test ]]
98
- name = " nucleo-h533"
99
- harness = false
100
- required-features = [" stm32h533" , " defmt" ]
101
-
102
- [lib ]
103
- test = false
Original file line number Diff line number Diff line change 1
1
use std:: env;
2
2
3
3
fn main ( ) {
4
+
5
+ if env:: var ( "TARGET" ) . unwrap ( ) != "thumbv8m.main-none-eabihf" {
6
+ return ;
7
+ }
8
+
4
9
// stm32 specific
5
10
println ! ( "cargo:rustc-link-arg=-Tlink.x" ) ;
6
11
You can’t perform that action at this time.
0 commit comments