Merge #34
34: enable cycle counter r=jordens a=jordens c.f. japaric/cortex-m-rtfm#184 close #31 Signed-off-by: Robert Jördens <rj@quartiq.de> Co-authored-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
commit
43f58ebb62
@ -555,7 +555,7 @@ const APP: () = {
|
|||||||
cp.SCB.enable_icache();
|
cp.SCB.enable_icache();
|
||||||
// TODO: ETH DMA coherence issues
|
// TODO: ETH DMA coherence issues
|
||||||
// cp.SCB.enable_dcache(&mut cp.CPUID);
|
// cp.SCB.enable_dcache(&mut cp.CPUID);
|
||||||
// cp.DWT.enable_cycle_counter();
|
cp.DWT.enable_cycle_counter(); // japaric/cortex-m-rtfm#184
|
||||||
|
|
||||||
rcc.ahb4enr.modify(|_, w|
|
rcc.ahb4enr.modify(|_, w|
|
||||||
w.gpioaen().set_bit()
|
w.gpioaen().set_bit()
|
||||||
|
Loading…
Reference in New Issue
Block a user