From a752d5a26bbb39573779cc5805bfdf4730b1f072 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 defu-util command more readable --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 8c62de5..6003671 100644 --- a/Rakefile +++ b/Rakefile @@ -199,7 +199,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:4256 -D #{t.source}" + sh "dfu-util --device 1209:4256 --download #{t.source}" end desc "flash bootloader using SWD"