platforms/stm32f7: remove GEPRC UART diagnostic
This commit is contained in:
1 parent
59b604fdba
commit
626b7a8b95
6 files changed
-129
No files matched your search
@@ -10,10 +10,6 @@ build = "build.rs"
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
firmware = []
|
||||
uart2-wire-test = ["firmware"]
|
||||
|
||||
[dependencies]
|
||||
kaptan-board = { path = "../../libs/kaptan-board" }
|
||||
platform-stm32f7 = { path = "../../platforms/stm32f7" }
|
||||
@@ -21,6 +17,5 @@ platform-stm32f7 = { path = "../../platforms/stm32f7" }
|
||||
[[bin]]
|
||||
name = "kaptan-geprc-f722-v2"
|
||||
path = "src/main.rs"
|
||||
required-features = ["firmware"]
|
||||
test = false
|
||||
bench = false
|
||||
@@ -1,11 +1,6 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
#[cfg(not(feature = "uart2-wire-test"))]
|
||||
mod board;
|
||||
|
||||
#[cfg(feature = "uart2-wire-test")]
|
||||
platform_stm32f7::geprc_uart2_wire_test!();
|
||||
|
||||
#[cfg(not(feature = "uart2-wire-test"))]
|
||||
platform_stm32f7::flight_firmware!(board::GeprcF722V2);
|
||||
Reference in new issue
Block a user