Commit graph

1842 commits

Author SHA1 Message Date
datdenkikniet
5de3ca0aef ci: use reusable workflow 2025-03-23 09:57:48 +00:00
datdenkikniet
414d759ed9 ci: some nicer messages 2025-03-23 09:57:48 +00:00
datdenkikniet
6d2150b61c ci: riscv check examples does not need nightly toolchain 2025-03-23 09:57:48 +00:00
datdenkikniet
5aa479b23e ci: fix QEMU tests for esp32 2025-03-23 09:57:48 +00:00
datdenkikniet
cfcf21ffe4 ci: Check at least one C3 target 2025-03-23 09:57:48 +00:00
datdenkikniet
0f5ddeff8d ci: check for hifive1 is now also supported 2025-03-23 09:57:48 +00:00
datdenkikniet
347bfaae02 ci & xtask: support hifive clippy 2025-03-23 09:57:48 +00:00
datdenkikniet
cece4dfcda ci: check can use the same template 2025-03-23 09:57:48 +00:00
datdenkikniet
a177b78851 ci: clippy can use the same template 2025-03-23 09:57:48 +00:00
datdenkikniet
3bb1041755 ci: testexamples can use the same template 2025-03-23 09:57:48 +00:00
datdenkikniet
546d2bd41b ci: checkexamples can use the same template 2025-03-23 09:57:48 +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
Henrik Tjäder
6903d208b6 Book: Fix #1024 async closures stable since 1.85 2025-03-12 19:55:06 +00:00
Henrik Tjäder
f5cfcbbd79 RTIC: Changelog newline 2025-03-12 19:41:40 +00:00
Henrik Tjäder
228d1e9675 Book: Change chapter title to not be ARM specific 2025-03-12 19:41:40 +00:00
Román Cárdenas Rodríguez
5d5ecb95c2 Adding docs about RISC-V 2025-03-12 19:41:40 +00:00
Román Cárdenas Rodríguez
4542367fc9 Configure CI for new backends 2025-03-12 19:41:40 +00:00
Román Cárdenas Rodríguez
6b021de4a0 Add mecall backend 2025-03-12 19:41:40 +00:00
Román Cárdenas Rodríguez
183e73904a Prepare for new riscv ecosystem 2025-03-12 19:41:40 +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
Joël Bourgault
1123fd8731 docs: fix minor typos in book preface 2025-03-12 12:09:28 +00:00
Ronald Weber
b18c1e2b6b Fix "the the" in comment 2025-02-19 19:14:04 +00:00
Ronald Weber
587f183842
Update esp32-c3 and esp-hal crates (#1019)
* Bump esp32-c3 to 0.27.0

* Update esp-hal to 0.23.1

* Add Changelog entry
2025-02-09 20:51:19 +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
Henrik Tjäder
26b1ab05eb
monotonics add readme (#1012)
* rtic-monotonics: Add README

* rtic-monotonics: Add links to changelog
2025-01-22 19:41:42 +00:00
Henrik Tjäder
1a8b5f27a0
rtic-monotonics: rp2040 extra parenthesis (#1010) 2025-01-15 20:02:56 +00:00
rnld wbr
6f6a56387c
Add blinky example for STM32F1 bluepill board (#1007)
Code taken from stm32f3_blinky example with LED port adapted to bluepill
board.
Port initialization and README from v1 rtic-examples with slight edits.
2025-01-15 19:11:27 +00:00
Emil Fresk
1a1237690c Add default docs feature to rtic-macros 2024-12-06 14:23:33 +01:00
Emil Fresk
b41a10e794 Fix documentation (docs.rs) and release 2.1.2 2024-12-06 14:09:26 +01:00
Henrik Tjäder
f17915842f
docs/changelog reorder (#1000)
* rtic: Changelog reorder based on date

* rtic: Changelog: Emphasis on stack-like operation
2024-11-27 19:22:21 +00:00
Jesse Braham
8678d424fd
Do not limit async priority with NVIC_PRIO_BITS when targeting ESP32-C3 (#996)
* Remove reference to `NVIC_PRIO_BITS` for ESP32-C3 codegen bindings

* Update `CHANGELOG.md`
2024-11-27 19:04:14 +00:00
MikeGstefan
ed026cc4a3
bump esp32c3 (#997)
* bump esp32-c3

* update changelog and example

* rtic-monotonics: update esp32c3 to v0.26

---------

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-11-27 18:59:55 +00:00
Emil Fresk
d251ba7173 Release rtic-monotonics 2.0.3 2024-10-24 07:46:30 +02:00
Finomnis
3dfef74a4c
[monotonics] Fix STM32 read-modify-write race condition (#984)
* Fix stm32 read-modify-write problem

The `SR` register for STM32 clears when writing a zero to a bit.
Therefore, all registers that should not be cleared need to be `1`.

`modify` here caused a read-modify-write error that could clear
unrelated flags.

* Add changelog

* Make initialization more deterministic

* Update changelog

* Beautification in comments

---------

Co-authored-by: Martin Stumpf <martin.stumpf@vected.de>
2024-10-23 19:28:42 +00:00
Emil Fresk
0f532c6b48 rtic-monotonics: Improve docs on interrupt priority 2024-10-23 20:57:42 +02:00