global: define RST as DFU force input

This commit is contained in:
King Kévin 2020-01-09 20:44:07 +01:00
parent 0e1345c18d
commit 2ba33d58c6
1 changed files with 3 additions and 0 deletions

View File

@ -665,6 +665,9 @@
#elif defined (BLASTER)
#define DFU_FORCE_PIN PA8 /**< GPIO pin (pin PA8, not SWD and UART pin on debug port) */
#define DFU_FORCE_VALUE 0 /**< short to nearby ground connection to force DFU */
#elif defined(STLINKV2)
#define DFU_FORCE_PIN PB6 /**< RST pin pin */
#define DFU_FORCE_VALUE 0 /**< short to nearby GND pin to force DFU */
#elif defined(BUSVOODOO)
#if BUSVOODOO_HARDWARE_VERSION==0
/* on BusVoodoo v0 DFU input is on PC7 */