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 c0e7dcb commit 58b5367Copy full SHA for 58b5367
src/peripheral/mod.rs
@@ -104,16 +104,16 @@ pub struct Cpuid {
104
pub isar: [RO<u32>; 5],
105
reserved1: u32,
106
/// Cache Level ID
107
- #[cfg(armv7m)]
+ #[cfg(any(armv7m, test))]
108
pub clidr: RO<u32>,
109
/// Cache Type
110
111
pub ctr: RO<u32>,
112
/// Cache Size ID
113
114
pub ccsidr: RO<u32>,
115
/// Cache Size Selection
116
117
pub csselr: RW<u32>,
118
}
119
0 commit comments