teensy40: init RTC and use ARM cycle counter for improved SysTick accuracy

This commit is contained in:
ardnew
2020-10-22 23:09:53 -05:00
committed by Ron Evans
parent 0d9c46b59e
commit 47410a4b54
2 changed files with 38 additions and 11 deletions
+1
View File
@@ -108,6 +108,7 @@ func initPeripherals() {
enableTimerClocks() // activate GPT/PIT clock gates
initSysTick() // enable SysTick
initRTC() // enable real-time clock
enablePinClocks() // activate IOMUXC(_GPR)/GPIO clock gates
initPins() // configure GPIO