From 20ce3abf54d295c6588cac4fc67dece3ede5ce94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sat, 11 Aug 2018 18:41:23 +0200 Subject: [PATCH] Rakefile (minor): make dfu-util command more readable --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 4693088..22af8b5 100644 --- a/Rakefile +++ b/Rakefile @@ -195,7 +195,7 @@ BMP_PORT = ENV["BMP_PORT"] || "/dev/ttyACM0" desc "flash application using USB DFU" task :flash => APPLICATION+".bin" do |t| - sh "dfu-util -d 1209:4356 -D #{t.source}" + sh "dfu-util --device 1209:4356 --download #{t.source}" end desc "flash bootloader using SWD"