mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 18:47:47 +00:00
59838338ba
machine: Add machine.CPUReset() for cortexm
11 lines
139 B
Go
11 lines
139 B
Go
//go:build cortexm
|
|
|
|
package machine
|
|
|
|
import "device/arm"
|
|
|
|
// CPUReset performs a hard system reset.
|
|
func CPUReset() {
|
|
arm.SystemReset()
|
|
}
|