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

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

View File

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