Make _stlink_usb_reset use hardreset
[fw/stlink] / src / stlink-common.h
index 76f977e9bdd2eedf8ecbdddb01e9d3ea5854d067..9268da22cdbd0d8096f8c9a28621ff2b120cff5d 100644 (file)
@@ -68,6 +68,7 @@ extern "C" {
 #define STLINK_DEBUG_WRITEDEBUGREG     0x0f
 #define STLINK_DEBUG_ENTER_SWD         0xa3
 #define STLINK_DEBUG_ENTER_JTAG        0x00
+#define STLINK_DEBUG_HARDRESET         0x3c
 
     // TODO - possible poor names...
 #define STLINK_SWD_ENTER 0x30