boardloader: remove micropython related code that enables debug features to get clock cycle counts (#58)

pull/25/head
mcudev 7 years ago committed by Pavol Rusnak
parent e10d40f846
commit 73897c1147

@ -62,9 +62,4 @@ void periph_init(void)
// Clear the reset flags
PWR->CR |= PWR_CR_CSBF;
RCC->CSR |= RCC_CSR_RMVF;
// Enable CPU ticks
CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; // Enable DWT
DWT->CYCCNT = 0; // Reset Cycle Count Register
DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk; // Enable Cycle Count Register
}

Loading…
Cancel
Save