Robin Mueller
8dee5b20ff
put the size check of the channel constructor in explicit const block
2025-12-03 19:45:29 +00:00
Robin Mueller
5fe2bceb6c
docs and changelog
2025-11-19 22:01:52 +00:00
Robin Mueller
148c4b3cc0
fix the const assertion for the queue size
2025-11-19 22:01:52 +00:00
dependabot[bot]
d758f981a1
chore(deps): update heapless requirement from 0.8 to 0.9
...
Updates the requirements on [heapless](https://github.com/rust-embedded/heapless ) to permit the latest version.
- [Release notes](https://github.com/rust-embedded/heapless/releases )
- [Changelog](https://github.com/rust-embedded/heapless/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-embedded/heapless/compare/v0.8.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: heapless
dependency-version: 0.9.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 19:49:44 +00:00
Johannes Cornelis Draaijer
2cfe1e062e
rtic-sync: add explicitly elided lifetimes to Signal::split
2025-09-17 19:40:38 +02:00
Emil Fresk
42ebfe57f1
Release all crates
2025-06-22 09:34:16 +00:00
datdenkikniet
71363095fe
Update CHANGELOG.md
2025-06-18 19:19:37 +00:00
datdenkikniet
72b5bc4836
rtic-sync: drop items when Receiver is dropped
2025-06-18 19:19:37 +00:00
datdenkikniet
9183e2983e
rtic-sync: debug_assert and explicitly drop(item).
2025-06-18 19:19:37 +00:00
datdenkikniet
7178f08541
rtic-sync: add comment about why we don't return_free_slot
2025-06-18 19:19:37 +00:00
datdenkikniet
2671a4de26
rtic-sync: Update CHANGELOG
2025-06-18 19:19:37 +00:00
datdenkikniet
110e4cf328
rtic-sync: require channel-users to deal with non-empty channels
2025-06-18 19:19:37 +00:00
datdenkikniet
29cfd0d5f5
rtic-sync: add some tests
2025-06-18 19:19:37 +00:00
Emil Fresk
38c364473c
Add blocking version of rtic_sync::arbiter::{i2c,spi}::ArbiterDevice
2025-06-15 08:10:41 +00:00
dependabot[bot]
af871941d3
Update embedded-hal-bus requirement from 0.2.0 to 0.3.0
...
Updates the requirements on [embedded-hal-bus](https://github.com/rust-embedded/embedded-hal ) to permit the latest version.
- [Release notes](https://github.com/rust-embedded/embedded-hal/releases )
- [Commits](https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-bus-v0.2.0...embedded-hal-bus-v0.3.0 )
---
updated-dependencies:
- dependency-name: embedded-hal-bus
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-28 18:13:16 +00:00
datdenkikniet
d7c6947f4e
rtic-sync: re-wrap UnsafeCell instead
2025-03-24 07:36:23 +00:00
datdenkikniet
bef2e1b9f0
rtic-sync: remove unnecessary with_mut, safety comment
2025-03-24 07:36:23 +00:00
datdenkikniet
dae55bd7e4
rtic-sync: add note about assert & update another to debug_assert
2025-03-24 07:36:23 +00:00
datdenkikniet
39d967bf49
rtic-sync: update CHANGELOG.md
2025-03-24 07:36:23 +00:00
datdenkikniet
cf2ed6d49e
rtic-sync: add loom tests
2025-03-24 07:36:23 +00:00
datdenkikniet
b5db435501
rtic-sync: introduce loom compat layer and apply it to channel
2025-03-24 07:36:23 +00:00
datdenkikniet
d76252d767
rtic-sync: update CHANGELOG.md
2025-03-23 10:47:25 +00:00
datdenkikniet
1dd279e86e
rtic-sync: we have exclusive access to the free slot pointer when in drop
2025-03-23 10:47:25 +00:00
datdenkikniet
ea56cc0ce8
rtic-sync: take link if it is popped
2025-03-23 10:47:25 +00:00
Cyril Marpaud
2c63a09cc4
rtic-sync: update changelog
2025-03-16 16:24:54 +00:00
Cyril Marpaud
6f57469bb5
rtic-sync(docs): harmonize make_signal and make_channel macros
2025-03-16 16:24:54 +00:00
Cyril Marpaud
94b2d5e9c0
rtic-sync: don't force Signal import on make_signal!() use
2025-03-16 16:24:54 +00:00
Emil Fresk
daff0c2913
rtic-sync: Release v1.3.2
2025-03-16 11:29:05 +00:00
datdenkikniet
e6bd03051f
rtic-sync: always wake wait_queue when attempting to return an item
...
to freeq
2025-03-16 11:19:22 +00:00
datdenkikniet
4d58d2bcd5
rtic-sync: add test validating that free queue slots are not lost on drop
2025-03-16 11:19:22 +00:00
datdenkikniet
36c574019f
rtic-sync: add explicit check for being closed
2025-03-16 11:19:22 +00:00
datdenkikniet
84c7ad186e
rtic-sync: improve comments
2025-03-16 11:19:22 +00:00
datdenkikniet
4fa3f5ddba
rtic-sync: Channel: Sender: rewriter send logic to be easier to validate
2025-03-16 11:19:22 +00:00
datdenkikniet
daf977dcff
Blah
2025-03-16 11:19:22 +00:00
datdenkikniet
404c30d620
rtic-sync: update README.md
2025-03-16 11:19:22 +00:00
datdenkikniet
e59848075d
rtic-sync: improve safety comments
2025-03-16 11:19:22 +00:00
datdenkikniet
76631309ef
rtic-sync: replacing SlotPtr is not actually safe
2025-03-16 11:19:22 +00:00
datdenkikniet
70f57c3160
rtic-sync: explicitly send an awoken Sender the slot it can use
2025-03-16 11:19:22 +00:00
Emil Fresk
bac77de9bc
rtic-sync: release 1.3.1
2025-03-12 19:13:12 +00:00
datdenkikniet
1b8eb110d9
Update CHANGELOG.md
2025-03-12 19:04:14 +00:00
datdenkikniet
0a01fde4bd
Fix #780
2025-03-12 19:04:14 +00:00
Dan Whitman
0935051d8b
ATSAMD RTC monotonic referral in documentation ( #1014 )
...
* rtic-monotonics: Adds a section to the module documentation about ATSAMD chip monotonics provided in the `atsamd-hal` crate
* rtic-monotonics: Adds a section to README listing the supported microcontroller platforms.
* rtic-sync: Fix clippy complaints
error: the following explicit lifetimes could be elided: 'a
--> rtic-sync/src/signal.rs:113:6
|
113 | impl<'a, T: Copy> SignalReader<'a, T> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
113 - impl<'a, T: Copy> SignalReader<'a, T> {
113 + impl<T: Copy> SignalReader<'_, T> {
* xtask: Clippy fix warning
warning: elided lifetime has a name
--> xtask/src/cargo_command.rs:427:14
|
420 | fn build_args<'i, T: Iterator<Item = &'i str>>(
| -- lifetime `'i` declared here
...
427 | ) -> Vec<&str> {
| ^ this elided lifetime gets resolved as `'i`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
---------
Co-authored-by: Dan Whitman <daniel.whitman.2@us.af.mil>
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2025-01-24 20:08:52 +00:00
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
861a63dbe3
Update embedded-hal-bus to 0.2 and fix portable-atomic features
2024-06-23 09:20:32 +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