]>
git.zerfleddert.de Git - fnordlicht-mini/blob - firmware/tests/start_bootloader.rb
5553082936d1efc39fa1d29d5b125e459961bdea
3 $
:.unshift(File
.dirname(__FILE__
)+"/lib")
10 $dev = SerialPort
.new("/dev/ttyUSB0", 19200)
13 $stderr.puts
"USAGE: #{$0} <addr>"
17 puts
"sending sync sequence"
20 puts
"starting bootloader"
21 start_bootloader(ARGV.shift
.to_i
)