Update rules.mk for Vinta (#4317)

changed dfu args to exit to application mode after flashing
master
Michael Pio 2018-11-02 08:28:01 +08:00 committed by Drashna Jaelre
parent e08266129e
commit 7a22da9f05
1 changed files with 3 additions and 3 deletions

View File

@ -29,10 +29,10 @@ ARMV = 6
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
#OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000
OPT_DEFS =
OPT_DEFS =
# Options to pass to dfu-util when flashing
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
# Build Options
# comment out to disable the options.
@ -44,4 +44,4 @@ EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # USB Nkey Rollover
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in