This crate provides a USB device that can be used by teensy_loader_cli
's -r
flag to request a
reboot into bootloader.
This allows the board to be reprogrammed without having to press the Reset
/Boot
button.
A requirement of this crate is that there is no other use for the USB port, as it will fully consume it.
- examples are intended for the Teensy 4.0, Teensy 4.1 or Teensy MicroMod board -
The following hardware is required for the examples: - A Teensy 4.0/Teensy 4.1/Teensy MicroMod development board
The following software tools have to be installed:
- Python3 (as python3
, or modify run.py
to use the python
binary)
- llvm-objcopy
- Install LLVM
tool suite
- teensy_loader_cli
cargo run --release --example teensy_4_0
.cargo run --release --example teensy_micromod
.