rtic/examples
Román Cárdenas Rodríguez 4060c3def8
RISC-V support over CLINT (#815)
* Rebase to master

* using interrupt_mod

* bug fixes

* fix other backends

* Add changelog

* forgot about rtic-macros

* backend-specific configuration

* core peripherals optional over macro argument

* pre_init_preprocessing binding

* CI for RISC-V (WIP)

* separation of concerns

* add targets for RISC-V examples

* remove qemu feature

* prepare examples folder

* move examples all together

* move ci out of examples

* minor changes

* add cortex-m

* new xtask: proof of concept

* fix build.yml

* feature typo

* clean rtic examples

* reproduce weird issue

* remove unsafe code in user app

* update dependencies

* allow builds on riscv32imc

* let's fix QEMU

* Update .github/workflows/build.yml

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>

* New build.rs

* removing test features

* adapt ui test to new version of clippy

* add more examples to RISC-V backend

* proper configuration of heapless for riscv32imc

* opt-out examples for riscv32imc

* point to new version of riscv-slic

* adapt new macro bindings

* adapt examples and CI to stable

* fix cortex-m CI

* Review

---------

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-03-20 20:06:47 +00:00
..
embassy-stm32g4 Release rtic v2.1.0, rtic-macros v2.1.0 2024-02-27 13:51:47 +01:00
hifive1 RISC-V support over CLINT (#815) 2024-03-20 20:06:47 +00:00
lm3s6965 RISC-V support over CLINT (#815) 2024-03-20 20:06:47 +00:00
nrf52840_blinky Make RTIC 2 work on stable by using main's stack as an allocator 2024-02-27 12:22:18 +01:00
rp2040_local_i2c_init Make RTIC 2 work on stable by using main's stack as an allocator 2024-02-27 12:22:18 +01:00
stm32f3_blinky Make RTIC 2 work on stable by using main's stack as an allocator 2024-02-27 12:22:18 +01: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
teensy4_blinky Make RTIC 2 work on stable by using main's stack as an allocator 2024-02-27 12:22:18 +01: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.