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>
master
bors[bot] 2019-09-11 13:36:53 +00:00 committed by GitHub
commit 43f58ebb62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()