datdenkikniet
2ee2d2440d
Update CHANGELOG.md
2025-06-15 17:19:40 +02:00
datdenkikniet
afe0c061ad
rtic-sync: drop items when Receiver is dropped
2025-06-15 17:19:40 +02:00
datdenkikniet
7421b1d5b8
rtic-sync: debug_assert and explicitly drop(item).
2025-06-15 17:19:40 +02:00
datdenkikniet
3dca44749d
rtic-sync: add comment about why we don't return_free_slot
2025-06-15 17:19:40 +02:00
datdenkikniet
ce62c4a1c2
rtic-sync: Update CHANGELOG
2025-06-15 17:19:40 +02:00
datdenkikniet
b4356cb01c
rtic-sync: require channel-users to deal with non-empty channels
2025-06-15 17:19:40 +02:00
datdenkikniet
c47f36c2a5
rtic-sync: add some tests
2025-06-15 17:19:40 +02:00
Jonathan 'theJPster' Pallant
f9d7b2c655
Add all the timers to the list in lib.rs.
2025-06-15 12:52:16 +00:00
Jonathan 'theJPster' Pallant
6a45bdefba
Add details for all the other monotonic implementations.
2025-06-15 12:52:16 +00:00
Jonathan 'theJPster' Pallant
f4b0c20f82
More details about the arguments for the systick API.
2025-06-15 12:52:16 +00:00
Oleksandr Babak
a2dfb62ffc
chore: better safety comment
2025-06-15 11:02:15 +00:00
Oleksandr Babak
2e703476a0
chore: changelog
2025-06-15 11:02:15 +00:00
Oleksandr Babak
d28b114c0b
feat(rtic-macros): expose task waker
2025-06-15 11:02:15 +00:00
Oleksandr Babak
a3f9239fba
feat(executor): add standalone waker constructor
2025-06-15 11:02:15 +00:00
Jonathan 'theJPster' Pallant
fa0d9be6f1
Improved example and comments for the systick! macro.
2025-06-15 10:43:43 +00:00
Jonathan 'theJPster' Pallant
53ff4feed2
Updates to "Delay and TImeout using Monotonics"
...
Some inconsistencies in the text caused confusion on my first few read-throughs, so I've tried to add some clarity.
2025-06-15 10:43:43 +00:00
Jonathan 'theJPster' Pallant
77a29b4e0c
Correct timer type in "Delay and Timeout using Monotonics"
...
The example in `lm3s6965/examples/async-timeout.rs` uses `Mono` as the monotonic timer type, so it's confusing that the second example switches to using `Systick`.
2025-06-15 10:43:43 +00:00
Henrik Tjäder
2a3e92cf20
book: view_code update for xtask
2025-06-15 10:17:41 +00:00
Henrik Tjäder
3f48ad7e87
docs: Monotonics: Highlight rtic-time is used
2025-06-15 09:58:44 +00:00
Henrik Tjäder
646ec91e0c
docs: Monotonics crates: Fix old copy-paste
2025-06-15 09:58:44 +00:00
Henrik Tjäder
b59a4ccb48
ci: Use xtask test --loom for rtic-sync
2025-06-15 09:58:25 +00:00
Henrik Tjäder
90bb324906
xtask: Add --loom argument to test
...
For now filter to only rtic-sync in ci subcommand
2025-06-15 09:58:25 +00:00
Oleksandr Babak
6a68e8e54d
feat: example of wait-queue
2025-06-15 09:03:30 +00:00
Oleksandr Babak
14803e6639
chore: compile fail tests to assert that the future returned by wait_until is *not* Unpin
2025-06-15 09:03:30 +00:00
Oleksandr Babak
11f1bc60fa
feat: wait_until method for waker queue
2025-06-15 09:03:30 +00:00
Oleksandr Babak
ff3b011cef
feat: OnDropWith helper
2025-06-15 09:03:30 +00:00
Oleksandr Babak
aa4f4ddac8
chore: changelog entry
2025-06-15 09:03:30 +00:00
Henrik Tjäder
662883cf2a
xtask: ci: Document in contributing instructions
2025-06-15 08:11:11 +00:00
Henrik Tjäder
23e5d334da
xtask: rename variable cargologlevel to cargoarg
2025-06-15 08:11:11 +00:00
Henrik Tjäder
38cba9f3ad
xtask: Cargo clippy lints
2025-06-15 08:11:11 +00:00
Henrik Tjäder
9bc60cc5ed
xtask: run: Use common BuildMode
2025-06-15 08:11:11 +00:00
Henrik Tjäder
c27c251542
xtask: Add AllCi functionality: Run all xtask
2025-06-15 08:11:11 +00:00
Henrik Tjäder
0cf2efdd2c
xtask: AllCi --failearly option
2025-06-15 08:11:11 +00:00
Henrik Tjäder
94cad96829
xtask: Arg is not only used for cargo size
2025-06-15 08:11:11 +00:00
Henrik Tjäder
dd3d56625e
xtask: cargo_format: grab check_only from struct
2025-06-15 08:11:11 +00:00
Henrik Tjäder
28257b001e
xtask: Add defaults for PackageOpt and FormatOpt
2025-06-15 08:11:11 +00:00
Henrik Tjäder
20d31ede5a
ci: Updated lm3s6965 Cargo.lock
2025-06-15 08:11:11 +00:00
Henrik Tjäder
0a68825911
xtask: Add ci/AllCi command
2025-06-15 08:11:11 +00:00
Henrik Tjäder
5131474221
xtask: Move info prints into run
2025-06-15 08:11:11 +00:00
Emil Fresk
38c364473c
Add blocking version of rtic_sync::arbiter::{i2c,spi}::ArbiterDevice
2025-06-15 08:10:41 +00:00
Emil Fresk
95616b3c59
Release RTIC v2.1.3
2025-06-08 10:44:11 +00:00
Henrik Tjäder
ac0579c81f
UI: Test for references passed to spawn
...
Related to and using code from Issue1065
Issue1065: https://github.com/rtic-rs/rtic/issues/1065
2025-06-08 10:36:54 +00:00
Emil Fresk
8193d5aea6
Fix references allowed in spawn
...
The futures passed to the executor were not bound
to be 'static, which allowed task futures to
reference data that's on the spawnee's stack.
The executor now requires futures to be 'static.
2025-06-08 09:34:28 +00:00
Henrik Tjäder
45a2ae8c7f
CI: Update STDERR for newer Rust
2025-06-08 09:10:01 +00:00
Henrik Tjäder
8c9770db0c
Clippy: 1.86: Handle style lint for Option.replace
...
https://rust-lang.github.io/rust-clippy/stable/index.html#mem_replace_option_with_some
2025-06-08 09:10:01 +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
Eli Hastings
f145203b54
Remove references to nightly Rust from ESP examples
2025-04-07 21:11:21 +00:00
Eli Hastings
a032fa67b0
Add ESP32C6 mention to book
2025-04-07 21:11:21 +00:00
Eli Hastings
104ee94dd1
Apply clippy fixes
2025-04-07 21:11:21 +00:00
Eli Hastings
0615841cb8
Don't use interrupts reserved by esp-hal
...
Excluding the reserved interrupts fixes the task priorities. I also
considered refactoring `rtic/src/export/riscv_esp32c6.rs` to use esp-hal
instead of esp32c6 directly as it has code to do all the pointer
wrangling itself, but decided against it for now. It might be nice to
refactor both esp implentations to use it though.
2025-04-07 21:11:21 +00:00