Browse Source

Add machine.CPUReset() (#3595)

machine: Add machine.CPUReset() for cortexm
pull/3511/merge
Scott Feldman 2 years ago
committed by GitHub
parent
commit
59838338ba
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/machine/machine_cortexm.go

10
src/machine/machine_cortexm.go

@ -0,0 +1,10 @@
//go:build cortexm
package machine
import "device/arm"
// CPUReset performs a hard system reset.
func CPUReset() {
arm.SystemReset()
}
Loading…
Cancel
Save