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 6060use core:: marker:: PhantomData ;
6161use core:: ops;
6262
63- #[ cfg( cm7) ]
63+ #[ cfg( feature = " cm7" ) ]
6464pub mod ac;
6565#[ cfg( not( armv6m) ) ]
6666pub mod cbp;
@@ -94,7 +94,7 @@ mod test;
9494#[ allow( clippy:: manual_non_exhaustive) ]
9595pub struct Peripherals {
9696 /// Cortex-M7 TCM and cache access control.
97- #[ cfg( cm7) ]
97+ #[ cfg( feature = " cm7" ) ]
9898 pub AC : AC ,
9999
100100 /// Cache and branch predictor maintenance operations.
@@ -178,7 +178,7 @@ impl Peripherals {
178178 TAKEN = true ;
179179
180180 Peripherals {
181- #[ cfg( cm7) ]
181+ #[ cfg( feature = " cm7" ) ]
182182 AC : AC {
183183 _marker : PhantomData ,
184184 } ,
@@ -230,15 +230,15 @@ impl Peripherals {
230230}
231231
232232/// Access control
233- #[ cfg( cm7) ]
233+ #[ cfg( feature = " cm7" ) ]
234234pub struct AC {
235235 _marker : PhantomData < * const ( ) > ,
236236}
237237
238- #[ cfg( cm7) ]
238+ #[ cfg( feature = " cm7" ) ]
239239unsafe impl Send for AC { }
240240
241- #[ cfg( cm7) ]
241+ #[ cfg( feature = " cm7" ) ]
242242impl AC {
243243 /// Pointer to the register block
244244 pub const PTR : * const self :: ac:: RegisterBlock = 0xE000_EF90 as * const _ ;
You can’t perform that action at this time.
0 commit comments