BV: change DFU pin to current revision
This commit is contained in:
parent
31e544c09f
commit
216557b99e
6
global.h
6
global.h
|
@ -420,10 +420,10 @@
|
|||
#define DFU_FORCE_PIN BUTTON_PIN /**< button pin */
|
||||
#define DFU_FORCE_VALUE 0 /**< button floating unpressed, connected to ground pressed to force DFU mode */
|
||||
#elif defined(BUSVOODOO)
|
||||
/* on BusVoodoo DFU input is on PC7 */
|
||||
/* on BusVoodoo DFU input is on PC4 */
|
||||
#define DFU_FORCE_PORT C /**< GPIO port (port C) */
|
||||
#define DFU_FORCE_PIN 7 /**< GPIO pin (pin PC7) */
|
||||
#define DFU_FORCE_VALUE 1 /**< pin is pulled low, and goes high when shorted with VUSB */
|
||||
#define DFU_FORCE_PIN 4 /**< GPIO pin (pin PC4) */
|
||||
#define DFU_FORCE_VALUE 1 /**< pin floating, set high when shorted with nearby VCC */
|
||||
#else
|
||||
/* use the JNTRST pin as GPIO (this will disable the SWJ function, but we are not using it) */
|
||||
#define DFU_FORCE_PORT B /**< JNTRST port (needs to be remapped to become PB4) */
|
||||
|
|
Loading…
Reference in New Issue