Browse Source

Rakefile: remove reset functionnality

spark_strober
King Kévin 5 years ago
parent
commit
dd0fcc1df7
  1. 9
      Rakefile

9
Rakefile

@ -232,12 +232,3 @@ task :debug => APPLICATION+".elf" do |t| @@ -232,12 +232,3 @@ task :debug => APPLICATION+".elf" do |t|
exec("#{GDB} --eval-command='target extended-remote #{BMP_PORT}' --eval-command='monitor version' --eval-command='monitor swdp_scan' --eval-command='attach 1' #{t.source}")
end
end
# reset device by setting the data width to 5 bis on the USB CDC ACM port
ACM_PORT = ENV["ACM_PORT"] || ("/dev/ttyACM0"==BMP_PORT ? "/dev/ttyACM2" : "/dev/ttyACM0")
desc "reset application using serial"
task :reset do
sh "stty --file #{ACM_PORT} raw cs5"
sleep 0.5
end

Loading…
Cancel
Save