Rakefile (minor): make dfu-util command more readable
This commit is contained in:
parent
8e710f21c4
commit
20ce3abf54
2
Rakefile
2
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"
|
||||
|
Loading…
Reference in New Issue
Block a user