rtic/examples/teensy4_blinky
Finomnis 8c23e178f3
Monotonic rewrite (#874)
* 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>
2024-04-10 22:00:38 +00:00
..
.cargo Add Monotonic for i.MX RT chip family 2023-11-08 19:43:09 +00:00
examples Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
src Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
Cargo.lock Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
Cargo.toml Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
README.md Add Monotonic for i.MX RT chip family 2023-11-08 19:43:09 +00:00
run.py Add Monotonic for i.MX RT chip family 2023-11-08 19:43:09 +00:00

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:

The following software tools have to be installed:

Run

  • Connect the Teensy to PC via USB cable.
  • Press the Reset/Boot button on the Teensy.
  • Run:
    cargo run --release