Commit graph

24 commits

Author SHA1 Message Date
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
Jan Niehusmann
a6aeb865b7
Add repository links to some crates hosted in this repo (#871) 2023-12-25 09:24:56 +00:00
Emil Fresk
1622f6b953
Fix docs.rs features for rtic-sync (#857) 2023-12-04 20:50:10 +01:00
Emil Fresk
ea8de913d7
Release rtic-monotonics, rtic-sync and rtic-time (#854) 2023-12-04 20:37:00 +01:00
Emil Fresk
fd085e6a01
Update to heapless 0.8, disable pool test for now (#846) 2023-12-04 18:26:21 +01: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
e8667d7872 rtic-sync: add I2C Arbiter to changelog 2023-11-28 06:42:05 +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
Emil Fresk
adfe33f597 Release rtic-monotonics 1.1.0, release rtic-sync 1.0.2 2023-08-29 07:17:31 +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
Henrik Tjäder
fe1e633b11 Changelog: Sync: Add dates and yanked status 2023-07-01 04:00:30 +00:00
Emil Fresk
db18c00c00 rtic-sync: Fix possible UB in make_channel! 2023-06-14 20:16:06 +02:00
Emil Fresk
c3884e212c v2.0 release 2023-05-25 08:27:58 +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