Update rules.mk for Vinta (#4317)
changed dfu args to exit to application mode after flashing
This commit is contained in:
parent
e08266129e
commit
7a22da9f05
|
@ -29,10 +29,10 @@ ARMV = 6
|
||||||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
|
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
|
||||||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
|
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
|
||||||
#OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000
|
#OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000
|
||||||
OPT_DEFS =
|
OPT_DEFS =
|
||||||
|
|
||||||
# Options to pass to dfu-util when flashing
|
# 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
|
# Build Options
|
||||||
# comment out to disable the 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
|
CONSOLE_ENABLE = no # Console for debug
|
||||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
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
|
||||||
|
|
Loading…
Reference in New Issue