github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/machine/machine_nrf52840_usb_reset_bossa.go (about)

     1  //go:build nrf52840 && nrf52840_reset_bossa
     2  
     3  package machine
     4  
     5  // EnterBootloader resets the chip into the serial bootloader. After
     6  // reset, it can be flashed using serial/nrfutil.
     7  func EnterBootloader() {
     8  	EnterSerialBootloader()
     9  }