Commit graph

1969 commits

Author SHA1 Message Date
dependabot[bot]
ae90fb6bbf
chore(deps): bump actions/cache from 4 to 5
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 16:03:36 +00:00
Emil Fresk
1b49d0d3b5 Update rtic-macros/src/codegen/shared_resources.rs 2025-12-03 19:57:58 +00:00
Oleksandr Babak
1a8418e6f9 chore: changelog entry 2025-12-03 19:57:58 +00:00
Oleksandr Babak
a03ac2c4c9 fix: make mutexes !Send
Each mutex is generated uniquely for each task, it is unsound to send
them between tasks. But they are `Send`. Before, it wasn't an issue,
because you couldn't share non-`'static` data between them, but with
\#1043 you can make the mutex `'static`. Thus we need to use actual
tools that Rust provides and out out from `Send`.

Currently, mutexes are simple ZSTs with `PhantomData<&'a ()>`, which is `Send`.
We replace it with `PhantomData<(&'a (), *const u8)>`, and return `Sync`
back via `unsafe` implementation. It is trivially sound, because mutexes have
no method methods that accept `&self`.

See https://doc.rust-lang.org/std/sync/struct.Exclusive.html for details.
2025-12-03 19:57:58 +00:00
Robin Mueller
8dee5b20ff put the size check of the channel constructor in explicit const block 2025-12-03 19:45:29 +00:00
dependabot[bot]
fbd472ec06 chore(deps): bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-03 19:43:29 +00:00
Henrik Tjäder
641a54af4b CI: Cargo audit: Ignore RUSTSEC-2024-0436 2025-12-03 19:43:07 +00:00
Henrik Tjäder
a38e8f18a0 book: Fix building with mdBook v0.5 2025-11-19 22:01:52 +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]
bbc37ca3fe chore(deps): bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-12 18:45:09 +00:00
dependabot[bot]
51d00bffb5 chore(deps): bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-12 18:44:34 +00:00
Oleksandr Babak
fab20df816 chore: changelog entry 2025-11-12 18:43:44 +00:00
Oleksandr Babak
511e2247d0 chore: replace deprecated bare-metal with critical-section 2025-11-12 18:43:44 +00:00
Ian McIntyre
299382c86c Support external SYST clock source
Give users the option to configure SYST with an external clock source.
By default, the clock source is the core, which keeps us backwards
compatible.

`_start` has a new input, but since users don't call that function
directly, it doesn't seem like a problem to break that public API.
2025-11-11 07:57:47 +00:00
Cyril Marpaud
c305c18db0 Fix typo in monotonics migration documentation 2025-10-29 19:44:25 +00:00
Henrik Tjäder
dbc5d3ceca CI: Schedule build before the meeting 2025-10-20 06:47:41 +00:00
datdenkikniet
6d43d6058a task-reference-in-spawn has new format in 1.90 2025-10-20 05:50:42 +00:00
datdenkikniet
09cdb20f86 Use is_multiple_of 2025-10-20 05:50:42 +00:00
shueja
181e667da3 Fix algorithm typo in preface.md 2025-10-09 07:53:15 +02:00
dependabot[bot]
300ad99b74 chore(deps): bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 20:04:33 +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
dependabot[bot]
4a72eddc8f chore(deps): update riscv requirement from 0.14.0 to 0.15.0
Updates the requirements on [riscv](https://github.com/rust-embedded/riscv) to permit the latest version.
- [Release notes](https://github.com/rust-embedded/riscv/releases)
- [Commits](https://github.com/rust-embedded/riscv/compare/v0.14.0...riscv-v0.15.0)

---
updated-dependencies:
- dependency-name: riscv
  dependency-version: 0.15.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 19:48:59 +00:00
dependabot[bot]
64690fe57f chore(deps): bump tracing-subscriber in /examples/lm3s6965
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.19...tracing-subscriber-0.3.20)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-version: 0.3.20
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 19:25:54 +00:00
Christopher Evans
fbefb66b9e ci: Audit-check: create Cargo.lock before audit-check
Allow on demand action checks

use latest actions/checkout

---

https://github.com/rtic-rs/rtic/pull/1080 switched
to using rustsec/audit-check but didn't setup the
Cargo.lock file. This action has been failing for
three months.

https://github.com/rtic-rs/rtic/actions/workflows/audit.yaml

---

https://github.com/rustsec/audit-check/pull/39
describes how a missing Cargo.lock will be missing
in library crates.
2025-09-17 18:58:58 +00:00
Henrik Tjäder
8bcd248929 rtic: Changelog: Updated esp32c{3,6} deps 2025-09-17 18:57:09 +00:00
Paul Bender
e8c260a745 Update esp32c{3,6} support to esp-hal-1.0.0-rc.0. 2025-09-17 18:57:09 +00:00
Henrik Tjäder
1365471f5a CI: xtask: Time-out esp32-ci QEMU job for now 2025-09-17 20:37:07 +02:00
Henrik Tjäder
b0ae7e9e15 CI: xtask: Update ESP32QEMU to 9.2.2-20250817 2025-09-17 20:37:07 +02:00
Henrik Tjäder
1102197217 CI: xtask: Resolve warning about mixed lifetimes 2025-09-17 20:37:07 +02:00
Henrik Tjäder
a23530bf86 CI: esptool warns about deprecating esptool.py 2025-09-17 20:37:07 +02:00
Johannes Cornelis Draaijer
24d6d88551 Update CHANGELOGs 2025-09-17 19:40:38 +02:00
Johannes Cornelis Draaijer
3ba1632f8d rtic-macros: forward attributes applied to app module
Instead of ignoring additional attributes applied to the app
module, we can forward them to the generated code.
2025-09-17 19:40:38 +02:00
Johannes Cornelis Draaijer
fa2c8c1dcd rtic: update UI test with new message
This message was changed in rust 1.89

See: https://users.rust-lang.org/t/regression-of-panic-message-in-const-context-since-1-89/133161
Probably due to https://github.com/rust-lang/rust/pull/142015
2025-09-17 19:40:38 +02:00
Johannes Cornelis Draaijer
2cfe1e062e rtic-sync: add explicitly elided lifetimes to Signal::split 2025-09-17 19:40:38 +02:00
Henrik Tjäder
c94dfcdd86 ci: Generate and store example filesizes 2025-07-02 18:34:20 +00:00
Henrik Tjäder
67730ceedb xtask: size: Store the expected output same as run 2025-07-02 18:34:20 +00:00
Anton Lazarev
b4a0c9057d panic if STM32 clock prescaler value overflows 2025-06-30 20:15:31 +00:00
Anton Lazarev
1104a12ca3 address clippy::uninlined_format_args 2025-06-30 19:09:23 +00:00
Emil Fresk
42ebfe57f1 Release all crates 2025-06-22 09:34:16 +00:00
Henrik Tjäder
e592a3aa12 esp32c6: Update examples Cargo.lock 2025-06-18 20:29:27 +00:00
Henrik Tjäder
9ea90889cc esp32c6: Update to v0.20.0 2025-06-18 20:29:27 +00:00
dependabot[bot]
6a499eade0 chore(deps): update esp32c6 requirement from 0.19.0 to 0.20.0
---
updated-dependencies:
- dependency-name: esp32c6
  dependency-version: 0.20.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-18 20:29:27 +00:00
dependabot[bot]
dadce95929 chore(deps): update riscv requirement from 0.13.0 to 0.14.0
Updates the requirements on [riscv](https://github.com/rust-embedded/riscv) to permit the latest version.
- [Release notes](https://github.com/rust-embedded/riscv/releases)
- [Commits](https://github.com/rust-embedded/riscv/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: riscv
  dependency-version: 0.14.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-18 20:08:50 +00:00
Henrik Tjäder
cfed2924ce lm3s6965: Cargo.lock update 2025-06-18 19:54:34 +00:00
Henrik Tjäder
e2b54e90ea esp32c3: example: Update Cargo.lock 2025-06-18 19:54:34 +00:00
Henrik Tjäder
42cc1b1a5d esp32c3: Examples: Update to v0.29.0 2025-06-18 19:54:34 +00:00
dependabot[bot]
38af386d10 chore(deps): update esp32c3 requirement from 0.28.0 to 0.29.0
---
updated-dependencies:
- dependency-name: esp32c3
  dependency-version: 0.29.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-18 19:54:34 +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