github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/machine/machine_nrf52840_usb_reset_uf2.go (about) 1 //go:build nrf52840 && nrf52840_reset_uf2 2 3 package machine 4 5 // EnterBootloader resets the chip into the UF2 bootloader. After reset, it 6 // can be flashed via nrfutil or by copying a UF2 file to the mass storage device 7 func EnterBootloader() { 8 EnterUF2Bootloader() 9 }