PaulStoffregen / teensy_loader_cli

Command line Teensy Loader
http://www.pjrc.com/teensy/loader_cli.html
331 stars 152 forks source link

Allow use of -b with other switches (especially -w). #43

Closed mbenkmann closed 5 years ago

mbenkmann commented 5 years ago

I'm setting up for programming a Teensy on Linux for the first time. After installing the udev rule and building teensy_loader_cli I wanted to test if teensy_loader_cli could find and communicate with my teensy, so I tried teensy_loader_cli --mcu=atmega32u4 -v -w -b, but got the error message "Could not find HalfKay", which confused me since I had not even plugged in the teensy, yet and was expecting -w to wait for me to do so. I checked the source code and saw that -b ignores all other switches. Well, I fixed that.