mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 08:23:41 +00:00
teensy40: init RTC and use ARM cycle counter for improved SysTick accuracy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user