We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cbdf6a commit 73c3f03Copy full SHA for 73c3f03
hal/src/efc.rs
@@ -32,8 +32,10 @@ pub const BASE_ADDRESS: u32 = 0x00400000;
32
///The Capacity in bytes of the Flash Memory.
33
#[cfg(feature = "flash-2M")]
34
pub const CAPACITY: u32 = 0x00200000;
35
+///The Capacity in bytes of the Flash Memory.
36
#[cfg(feature = "flash-1M")]
37
pub const CAPACITY: u32 = 0x00100000;
38
39
#[cfg(feature = "flash-512K")]
40
pub const CAPACITY: u32 = 0x00080000;
41
/// The Size in bytes of a page in the Flash Memory.
0 commit comments