Commit graph

26 commits

Author SHA1 Message Date
Emil Fresk
b41a10e794 Fix documentation (docs.rs) and release 2.1.2 2024-12-06 14:09:26 +01:00
Sebastian Kuzminsky
1461977cf7
Signal ergo minor fixes (#986)
* rtic_sync::signal: fix some docs typos

* impl Debug for Signal, SignalReader, and SignalWriter

This facilitates e.g. `my_task::spawn(my_signal_reader).unwrap();`
2024-10-23 18:55:08 +00:00
Emil Fresk
3e65a83110 Fix CI with 1.80 2024-08-07 21:09:58 +02:00
Emil Fresk
07b460fc0f Fix Default for rtic_sync::signal 2024-06-23 08:05:45 +02:00
Henrik Tjäder
8871c85022 rtic-sync: clippy::new-without-default lint 2024-06-23 08:05:45 +02:00
AdinAck
d516d9a214
Add Signal to rtic-sync (#934)
* add signal to rtic-sync

* woops update changelog

* remove example, too comlicated for a doc

TODO: add example to rtic-examples repo

* fix @korken89's issues

* ...remove fence

* fix clippy warnings

* add tests
2024-06-19 18:52:38 +00:00
Emil Fresk
2efdef6029 Fix clippy lints 2024-05-27 11:26:06 +02:00
Emil Fresk
deafcc4382
Make debug asserts into asserts to help find the issue (#931) 2024-05-01 18:33:42 +00:00
Henrik Tjäder
22ac33a826
rtic-sync: Fix xtask doc, non-compiling example (#900) 2024-03-13 19:55:59 +00:00
Emil Fresk
4a23c8d6da
rtic-sync: Remove unstable flag, and add defmt derives (#889) 2024-02-23 07:38:10 +00:00
Anshul Gupta
efb82b7b05
Changes make_channel! macro to accept more types (#877)
* Changes `make_channel!` macro to accept more types

Changes `type` macro argument from `path` to `ty`, allowing more complex
types like tuples, arrays, & pointers.

See https://doc.rust-lang.org/reference/types.html#type-expressions.

* Adds to `CHANGELOG.md`
2024-01-07 06:52:08 +00:00
Finomnis
612a47ef4d
Fix mono delay (#843)
* 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
2023-12-01 07:59:22 +00:00
Andres Vahter
9f5820da1d rtic-sync Arbiter: impl more I2C trait fns
For example embassy-stm32 I2C does not impl transaction yet but other fns are available. So it would be better to impl all of them here.
2023-11-28 09:59:29 +00:00
Andres Vahter
8bb084ebbb rtic-sync: add Arbiter for I2C 2023-11-28 06:42:05 +00:00
Nils Fitinghoff
ff5cad9cd2 rtic-sync: Add SPI bus sharing with arbiter 2023-11-22 19:42:46 +00:00
onsdagens
2b2208e217 esp32c3 support 2023-09-27 19:50:13 +00:00
Nils Fitinghoff
609f14b1e4 ritc-sync: Fix make_channel forcing dependency into user crate
Before, `make_channel` assumed that `critical_section` would be
available in the namespace of the code that invoked the macro. Access
`critical_section` through `rtic-sync` instead.
2023-08-25 05:07:13 +00:00
Emil Fresk
db18c00c00 rtic-sync: Fix possible UB in make_channel! 2023-06-14 20:16:06 +02:00
bors[bot]
55083fb3cc
Merge #736
736: More `xtasks` and add examples to `rtic` repo r=korken89 a=datdenkikniet

This was in #732 before, but decluttering that PR seemed sensible

Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-04-16 19:19:09 +00:00
datdenkikniet
2db26c1015 Deny on warnings in xtasks 2023-04-16 13:08:46 +02:00
datdenkikniet
dcbd7ce970 rtic-sync: smoe more docs 2023-04-15 19:19:49 +02:00
Yandrik
ef12ae6b04 refactor: re-formatted files 2023-03-15 20:17:26 +01:00
Yandrik
a071ab05b2 refactor(macro): used $crate for better interop 2023-03-15 20:04:27 +01:00
Yandrik
15b9db4c5d refactor: re-formatted channel.rs file 2023-03-15 15:18:31 +01:00
Yandrik
f2643a0076 fix(rtic-sync): used fully qualified paths in Channel Macro 2023-03-15 14:33:29 +01:00
Emil Fresk
32b537aef6 Merge arbiter and channel into sync 2023-03-01 20:11:00 +01:00