enable cycle counter

c.f. japaric/cortex-m-rtfm#184

Signed-off-by: Robert Jördens <rj@quartiq.de>
master
Robert Jördens 2019-09-11 15:35:06 +02:00
parent bc14409f44
commit fc93de432d
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ const APP: () = {
cp.SCB.enable_icache();
// TODO: ETH DMA coherence issues
// 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|
w.gpioaen().set_bit()