PaulStoffregen / teensy_loader_cli

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

Added Make target for MACOSX and USE_LIBUSB combination. #20

Closed oskargargas closed 8 years ago

oskargargas commented 8 years ago

Hello,

I created patch for the same issue which was mentioned in https://github.com/PaulStoffregen/teensy_loader_cli/pull/19 but without breaking anything for other platforms.

In later time I'll look into providing proper OSX implementation but for now merging this pr would be very helpful for all PlatformIO users as it uses teensy_loader_cli to upload .hex to the board.

Is implementation of Teensy Loader GUI utility, used by Arduino IDE open sourced? I can't find it anywhere and I'd like to look at details there while making OSX implementation for CLI. Clearly everything is solved there.

Best regards, Oskar Gargas

PaulStoffregen commented 8 years ago

I'm reluctant to make this the default. I will merge it, then add a comment.

oskargargas commented 8 years ago

I fully understand especially as it needs non-default libusb presence in OSX. Though it is useful for development purposes. I'm willing to give a shot at proper implementation at later time. I'll also need to do Windows implementation in few months from now - before shipping which will need custom uploader.

Could you comment on Teensy Loader GUI utility source code availability?