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"