Commit graph

1945 commits

Author SHA1 Message Date
Oleksandr Babak
5a2acec442 fix: bump edition. it should cause a ci error 2025-06-18 18:49:41 +00:00
Oleksandr Babak
5068edc668 Update rtic-macros/CHANGELOG.md 2025-06-18 18:49:41 +00:00
Oleksandr Babak
f61febf7a4 fix: in edition 2024 link_section is used as unsafe(link_section = ...) 2025-06-18 18:49:41 +00:00
dependabot[bot]
2c7dec32e4 Update imxrt-ral requirement from 0.5.3 to 0.6.1
Updates the requirements on [imxrt-ral](https://github.com/imxrt-rs/imxrt-ral) to permit the latest version.
- [Release notes](https://github.com/imxrt-rs/imxrt-ral/releases)
- [Changelog](https://github.com/imxrt-rs/imxrt-ral/blob/master/CHANGELOG.md)
- [Commits](https://github.com/imxrt-rs/imxrt-ral/compare/0.5.3...0.6.1)

---
updated-dependencies:
- dependency-name: imxrt-ral
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-15 20:27:25 +00:00
Henrik Tjäder
3678a404b3 ci: QEMU: Custom QEMU only for ESP32 2025-06-15 15:43:12 +00:00
Henrik Tjäder
659d35a8e7 ci: QEMU: If cache hit, do not download again 2025-06-15 15:43:12 +00:00
Henrik Tjäder
5eec5e8e23 ci: QEMU: Do not install regular QEMU, only ESP32 2025-06-15 15:43:12 +00:00
Henrik Tjäder
ca5ae8090c ci: espflash: use install-action
Tries cargo-binstall, then if that fails compiles
2025-06-15 15:43:12 +00:00
Henrik Tjäder
52d2e6e861 ci: QEMU ESP32: Update espflash to 3.3.0
Includes libudev feature to not need external dep
2025-06-15 15:43:12 +00: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