Closed jcw closed 3 years ago
Hi @jcw ! I've just published a new tool-teensy
package for MacOS with the latest teensy_loader_cli
inside. Could you please run pio platform update teensy
and confirm that it works as expected?
Yep, update works like a charm, -s
now works on MacOS and --mcu=TEENSY41
is recognised - many thanks!
The source code for this is at: https://github.com/PaulStoffregen/teensy_loader_cli It now has support for TEENSY41, the current PIO setup only goes to TEENSY40. This can be checked with:
But ... for MacOS, please build with LIBUSB defined in the Makefile, don't use IOKit. The reason for this is that the libusb version is able to get the Teensy into boot mode with "-s", whereas IOKit does not support that feature.
As far as I understand it (which says little), the only way to get a Teensy back to a normal running state from either serial or boot mode, is to use this command:
For some background, see my post on the Teensy forum, as I try to implement a streamlined RAM-based dev cycle.