rtic/examples
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
..
embassy-stm32g4 Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
esp32c3 Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
hifive1 RISC-V support over CLINT (#815) 2024-03-20 20:06:47 +00:00
lm3s6965 Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
nrf52840_blinky Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
rp2040_local_i2c_init Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
stm32f3_blinky Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
stm32f411_rtc_interrupt Make RTIC 2 work on stable by using main's stack as an allocator 2024-02-27 12:22:18 +01:00
stm32g030f6_periodic_prints Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
teensy4_blinky Monotonic rewrite (#874) 2024-04-10 22:00:38 +00:00
.gitignore examples: commit Cargo.lock files 2023-04-16 13:08:46 +02:00
README.md Split remove old examples 2023-04-16 13:08:35 +02:00

RTIC examples

Here you can find examples on different aspects of the RTIC scheduler.

Structure

This repo does have example applications based on RTIC framework for popular hardware platforms (for example nRF series and Bluepill).

Requirements

To run these examples, you need to have working environment as described in Installing the tools chapter of The Embedded Rust Book.

Short list:

  • Rust and cargo
  • Toolchain for your microcontroller
  • OpenOCD

Contributing

New examples are always welcome!

External examples

Some projects maintain RTIC examples in their own repository. Follow these links to find more RTIC examples.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.