Rakefile (minor): make defu-util command more readable
This commit is contained in:
parent
1fe300335d
commit
a752d5a26b
2
Rakefile
2
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"
|
||||
|
Loading…
Reference in New Issue
Block a user