Rakefile (minor): make dfu-util command more readable

This commit is contained in:
King Kévin 2018-08-11 18:41:23 +02:00
parent 8e710f21c4
commit 20ce3abf54
1 changed files with 1 additions and 1 deletions

View File

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