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"
7979panic-itm = { version = " ~0.4.1" }
8080panic-probe = " 0.3.2"
8181panic-semihosting = " 0.6"
82- embedded-test = " 0.6.1"
8382
8483[profile .release ]
8584codegen-units = 1 # better optimizations
@@ -93,11 +92,3 @@ name = "blinky"
9392[[example ]]
9493name = " i2c"
9594required-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 11use std:: env;
22
33fn main ( ) {
4+
5+ if env:: var ( "TARGET" ) . unwrap ( ) != "thumbv8m.main-none-eabihf" {
6+ return ;
7+ }
8+
49 // stm32 specific
510 println ! ( "cargo:rustc-link-arg=-Tlink.x" ) ;
611
You can’t perform that action at this time.
0 commit comments