Implemented enter (Uf2 usb) DFU mode admin message on NRF52 (#3045)

* Added enter DFU mode admin message

* Trunk
This commit is contained in:
Ben Meadors
2023-12-27 14:26:40 -06:00
committed by GitHub
parent 2b7eb1e489
commit dbac2b1cad
5 changed files with 16 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
#include "configuration.h"
#include <Adafruit_TinyUSB.h>
#include <Adafruit_nRFCrypto.h>
#include <SPI.h>
#include <Wire.h>
@@ -214,4 +215,9 @@ void clearBonds()
nrf52Bluetooth->setup();
}
nrf52Bluetooth->clearBonds();
}
void enterDfuMode()
{
enterUf2Dfu();
}