teensy4-selfrebootor

Crates.io Crates.io License Build Status docs.rs

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

- examples are intended for the Teensy 4.0, Teensy 4.1 or Teensy MicroMod board -

Prerequisites

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) - cargo-binutils - teensy_loader_cli

Run