mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
612a47ef4d
* rtic-time: Compenstate for timer uncertainty * Update changelog and incorrect cargo.lock in an example * Fix Monotonic impls * Fix tests * Fix other monotonics, again * Update changelog * Fix example * Fix DelayUs and DelayMs impls * Minor coding style fix in u64 conversions * Fix all changelogs * Fix changelog * Fix blocking DelayUs * Minor monotonic rework * Add delay precision test * Add more tests * Add rust-version tags to Cargo.toml * Fix imxrt, rp2040 and systick timer * Fix more monotonics * Fix systick monotonic * Some reverts * Fix imxrt * Fix nrf * Fix rp2040 * Fix stm32 * Fix systick * Fix rtic-time tests * Bump to e-h.rc2 * Apply e-h.rc2 fixes to rtic-time * Apply fixes from arbiter * Fix clippy warning * Minor beautification * Revert previous changes * Fix variable name * Add blocking tests, but disable them by default |
||
---|---|---|
.. | ||
.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