Browse Source

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

spark_strober
King Kévin 4 years ago
parent
commit
20ce3abf54
  1. 2
      Rakefile

2
Rakefile

@ -195,7 +195,7 @@ BMP_PORT = ENV["BMP_PORT"] || "/dev/ttyACM0" @@ -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…
Cancel
Save