platforms/stm32f7: always compile F722 firmware

This commit is contained in:
Onur Özkan committed 2026-08-01 22:29:43 +03:00
1 parent 626b7a8b95
commit 6f10f98e2f
4 files changed
-7

No files matched your search

-2
View File
@@ -27,6 +27,4 @@ cortex-m = "0.7"
cortex-m-rt = "0.7"
rtic = { version = "2.3", default-features = false, features = ["thumbv7-backend"] }
stm32f7 = { version = "0.16", default-features = false, features = ["rt", "stm32f722"] }
[target.'cfg(target_arch = "arm")'.dependencies]
panic-halt = "1"
-2
View File
@@ -1,5 +1,3 @@
#![cfg_attr(not(target_arch = "arm"), allow(dead_code))]
mod tim3_dshot;
mod tim3_pwm;
-2
View File
@@ -3,7 +3,6 @@
/// Defines the F722 application in the platform crate. All interrupt bindings
/// are the finite platform-owned superset. Profile activation determines which
/// acknowledged route has initialized hardware.
#[cfg(target_arch = "arm")]
macro_rules! f722_flight_application {
($routes:path, $config:path) => {
#[allow(unused_imports)]
@@ -324,5 +323,4 @@ macro_rules! f722_flight_application {
};
}
#[cfg(target_arch = "arm")]
pub(crate) use f722_flight_application;
@@ -49,7 +49,6 @@ impl Tim2Periodic {
}
/// Acknowledges a TIM2 update interrupt.
#[cfg(target_arch = "arm")]
pub fn acknowledge_update(&mut self) {
// `UIF` is write-zero-to-clear (W0C).
self._peripheral.sr().write(|write| write.uif().clear());