aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/flash/mod.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-05-14 21:39:55 +0000
committerGitHub <[email protected]>2023-05-14 21:39:55 +0000
commitae4827587ccfb9ee8c65eb2d56439e3df3c052d0 (patch)
tree8300ad0877229ebfc7d5ab6c6e4be8ac6fac4d3b /embassy-stm32/src/flash/mod.rs
parentcdd326284a4a8bd45e59d18822a6d7269030f1c0 (diff)
parentec7a4fd9cc6284fffbce3c74a82d2942713d4cd4 (diff)
Merge #1454
1454: stm32f0 flash implementation r=Dirbaio a=jp99 i've copied and modified the f3 implementation and it seems to be working. Co-authored-by: Jaap Prickartz <[email protected]>
Diffstat (limited to 'embassy-stm32/src/flash/mod.rs')
-rw-r--r--embassy-stm32/src/flash/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/embassy-stm32/src/flash/mod.rs b/embassy-stm32/src/flash/mod.rs
index 7d5596b1f..f6efa7753 100644
--- a/embassy-stm32/src/flash/mod.rs
+++ b/embassy-stm32/src/flash/mod.rs
@@ -49,13 +49,14 @@ impl FlashRegion {
49} 49}
50 50
51#[cfg_attr(any(flash_l0, flash_l1, flash_l4, flash_wl, flash_wb), path = "l.rs")] 51#[cfg_attr(any(flash_l0, flash_l1, flash_l4, flash_wl, flash_wb), path = "l.rs")]
52#[cfg_attr(flash_f0, path = "f0.rs")]
52#[cfg_attr(flash_f3, path = "f3.rs")] 53#[cfg_attr(flash_f3, path = "f3.rs")]
53#[cfg_attr(flash_f4, path = "f4.rs")] 54#[cfg_attr(flash_f4, path = "f4.rs")]
54#[cfg_attr(flash_f7, path = "f7.rs")] 55#[cfg_attr(flash_f7, path = "f7.rs")]
55#[cfg_attr(flash_h7, path = "h7.rs")] 56#[cfg_attr(flash_h7, path = "h7.rs")]
56#[cfg_attr( 57#[cfg_attr(
57 not(any( 58 not(any(
58 flash_l0, flash_l1, flash_l4, flash_wl, flash_wb, flash_f3, flash_f4, flash_f7, flash_h7 59 flash_l0, flash_l1, flash_l4, flash_wl, flash_wb, flash_f0, flash_f3, flash_f4, flash_f7, flash_h7
59 )), 60 )),
60 path = "other.rs" 61 path = "other.rs"
61)] 62)]