Browse Source

Update rules.mk for Vinta (#4317)

changed dfu args to exit to application mode after flashing
Michael Pio 6 years ago
parent
commit
7a22da9f05
1 changed files with 3 additions and 3 deletions
  1. 3 3
      keyboards/vinta/rules.mk

+ 3 - 3
keyboards/vinta/rules.mk

@@ -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