Commit graph

1969 commits

Author SHA1 Message Date
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
Eli Hastings
c6fbbaaae8 Update esp32c6 example dependencies 2025-04-07 21:11:21 +00:00
Eli Hastings
90f475316f Bump ESP versions 2025-04-07 21:11:21 +00:00
Eli Hastings
9305963752 Use PLIC_MX instead of INTPRI to set interrupt priorities
This doesn't fix the GPIO interrupt triggering during a higher priority
CPU task, but does fix rtic-monotonics. I am unsure how to fix the
former as PLIC_MX doesn't have a function like `cpu_intr_from_cpu_x` to
pend/unpend CPU interrupts, and if the CPU interrupts are enabled with
PLIC_MX instead of INTPRI then the MCU just hangs when there is a CPU
interrupt.
2025-04-07 21:11:21 +00:00
Eli Hastings
ef09e4b65f Port ESP32-C3 changes to ESP32-C6 branch 2025-04-07 21:11:21 +00:00
Wouter Geraedts
0efb77300e Added CI 2025-04-07 21:11:21 +00:00
Wouter Geraedts
cfe4790e68 Ran cargo fmt 2025-04-07 21:11:21 +00:00
Wouter Geraedts
35cb5570bd Added CHANGELOG entry 2025-04-07 21:11:21 +00:00
Wouter Geraedts
3dec289ade Use explicit list of external interrupts which can be used by RTIC 2025-04-07 21:11:21 +00:00
Wouter Geraedts
bb4317ef45 Enable interrupt after it has been configured; use register block instead of hardcoded address 2025-04-07 21:11:21 +00:00
Wouter Geraedts
b97bc79126 Added esp32c6 support and example 2025-04-07 21:11:21 +00:00
datdenkikniet
5a8ff70f85 Placate clippy 2025-04-03 20:43:04 +02:00
Oleksandr Babak
be6648c0ee fix: move the popped check after the fence 2025-04-03 12:18:11 +00:00
Oleksandr Babak
e10866ff30 fix: check if link is already popped when removing it inside the critical section 2025-04-03 12:18:11 +00:00
Oleksandr Babak
c9eefd2e25 chore: changelog entry 2025-04-03 12:18:11 +00:00
Oleksandr Babak
08a0d7f53a feat: do not cause memory corruption if remove_from_list (safe function) is called multiple times 2025-04-03 12:18:11 +00:00
Henrik Tjäder
c3a5cf0a47 CI: QEMU: Step name to reflect action 2025-04-01 20:32:53 +00:00
Henrik Tjäder
5915e9eca0 CI: QEMU: We are not building anymore 2025-04-01 20:32:53 +00:00
Henrik Tjäder
6cc6061595 CI: Bump QEMU_VERSION and remove QEMU_URL 2025-04-01 20:32:53 +00:00
Henrik Tjäder
86a77cdffd CI: clippy-check-example: Bump ubuntu-24.04 2025-04-01 20:32:53 +00:00
Henrik Tjäder
84c68ae3a6 CI: ESP32: Ignore qemuoutput.log files 2025-04-01 20:32:53 +00:00
Henrik Tjäder
6f5c260e6f CI: ESP32: Update expected outputs 2025-04-01 20:32:53 +00:00
Henrik Tjäder
4f04962e42 CI: ESP32-C3: Tweak runner script not print version 2025-04-01 20:32:53 +00:00
Henrik Tjäder
6aafb89e99 CI: Use latest ESP32-QEMU: 9.2.2 2025-04-01 20:32:53 +00:00
Henrik Tjäder
fc40812b9a CI: Ubuntu 24.04 packages QEMU 8.2.2 2025-04-01 20:32:53 +00:00