mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-27 04:19:33 +01:00
918f9c3f13
* Atomics: Replace polyfill with portable-atomic * Update Cargo.lock for examples * RTIC: portable-atomic: Update changelog * rtic-monotonics: portable-atomic: Update changelog * lm3s6965: enable critical-section when testing * xtask: Enable portable-atomic/critical-section When dealing with rtic-monotonics * rtic-monotonics: portable-atomics: Do not disable the ability to fallback --------- Co-authored-by: Emil Fresk <emil.fresk@gmail.com> |
||
---|---|---|
.. | ||
.cargo | ||
examples | ||
src | ||
Cargo.lock | ||
Cargo.toml | ||
README.md | ||
run.py |
Teensy4 RTIC Blink example
Working example of simple LED blinking application for Teensy4. Example uses monotonics API and peripherials access.
How-to
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 modifyrun.py
to use thepython
binary) cargo-binutils
teensy_loader_cli
Run
- Connect the Teensy to PC via USB cable.
- Press the
Reset
/Boot
button on the Teensy. - Run:
cargo run --release