mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-25 03:19:34 +01:00
8c23e178f3
* Rework timer_queue and monotonic architecture Goals: * make Monotonic purely internal * make Monotonic purely tick passed, no fugit involved * create a wrapper struct in the user's code via a macro that then converts the "now" from the tick based monotonic to a fugit based timestamp We need to proxy the delay functions of the timer queue anyway, so we could simply perform the conversion in those proxy functions. * Update cargo.lock * Update readme of rtic-time * CI: ESP32: Redact esp_image: Too volatile * Fixup: Changelog double entry rebase mistake --------- Co-authored-by: Henrik Tjäder <henrik@tjaders.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