tinygo/src/machine/machine_nrf52840_usb_reset_uf2.go
2022-12-19 23:20:11 +01:00

9 строки
267 Б
Go

//go:build nrf52840 && nrf52840_reset_uf2
package machine
// EnterBootloader resets the chip into the UF2 bootloader. After reset, it
// can be flashed via nrfutil or by copying a UF2 file to the mass storage device
func EnterBootloader() {
EnterUF2Bootloader()
}