File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ use core::ops;
6262
6363use crate :: interrupt;
6464
65- #[ cfg( cm7) ]
65+ #[ cfg( feature = " cm7" ) ]
6666pub mod ac;
6767#[ cfg( not( armv6m) ) ]
6868pub mod cbp;
@@ -96,7 +96,7 @@ mod test;
9696#[ allow( clippy:: manual_non_exhaustive) ]
9797pub struct Peripherals {
9898 /// Cortex-M7 TCM and cache access control.
99- #[ cfg( cm7) ]
99+ #[ cfg( feature = " cm7" ) ]
100100 pub AC : AC ,
101101
102102 /// Cache and branch predictor maintenance operations.
@@ -180,7 +180,7 @@ impl Peripherals {
180180 TAKEN = true ;
181181
182182 Peripherals {
183- #[ cfg( cm7) ]
183+ #[ cfg( feature = " cm7" ) ]
184184 AC : AC {
185185 _marker : PhantomData ,
186186 } ,
@@ -232,15 +232,15 @@ impl Peripherals {
232232}
233233
234234/// Access control
235- #[ cfg( cm7) ]
235+ #[ cfg( feature = " cm7" ) ]
236236pub struct AC {
237237 _marker : PhantomData < * const ( ) > ,
238238}
239239
240- #[ cfg( cm7) ]
240+ #[ cfg( feature = " cm7" ) ]
241241unsafe impl Send for AC { }
242242
243- #[ cfg( cm7) ]
243+ #[ cfg( feature = " cm7" ) ]
244244impl AC {
245245 /// Pointer to the register block
246246 pub const PTR : * const self :: ac:: RegisterBlock = 0xE000_EF90 as * const _ ;
You can’t perform that action at this time.
0 commit comments