diff --git a/Rakefile b/Rakefile index db969f1..271eb17 100644 --- a/Rakefile +++ b/Rakefile @@ -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