Commit graph

1689 commits

Author SHA1 Message Date
Henrik Tjäder
bedaae9395 Book: Restore missing newline 2023-10-04 18:17:15 +00:00
Nils Fitinghoff
8824202c5a rtic-monotonics: Fix stm32-metapac use
Previously, the stm32 monotonics only compiled for some chip families. For
example, stm32g081kb worked, but not stm32f407*.

The stm32-metapac does not directly unify peripheral names between the
many stm32 families, but provides tools for build scripts to generate
code that uses the right names for the selected chip. Use that mechanism
instead of targeting a specific family.
2023-10-03 20:50:50 +00:00
dependabot[bot]
3143b7e0ca Update stm32-metapac requirement from 13.0.0 to 14.0.0
Updates the requirements on [stm32-metapac](https://github.com/embassy-rs/stm32-data) to permit the latest version.
- [Commits](https://github.com/embassy-rs/stm32-data/commits)

---
updated-dependencies:
- dependency-name: stm32-metapac
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 19:11:45 +00:00
onsdagens
b2b39ab6e6 remove nop from the empty idle loop
remove nop from the empty idle loop
2023-09-28 05:39:53 +00:00
onsdagens
852d63d9e4 export esp32c3 nop
export esp32c3 nop

export esp32c3 nop
2023-09-27 20:10:00 +00:00
onsdagens
2b2208e217 esp32c3 support 2023-09-27 19:50:13 +00:00
Emil Fresk
3b8d787a91 Release rtic-monotonics v1.2.0 2023-09-19 13:34:29 +00:00
Nils Fitinghoff
a2ec8f983c rtic-monotonics: Implement blocking DelayUs from embedded-hal 1 2023-09-19 13:31:09 +00:00
Andres Vahter
54aec9b398 add embedded-hal-async impl to stm32 2023-09-06 18:48:36 +00:00
Andres Vahter
7dcc59d4ed expose all stm32-metapac chips as features
add more supported timers
2023-09-06 18:48:36 +00:00
Andres Vahter
7d223ffe57 PoC Monotonic impl based on stm32-metapac 2023-09-06 18:48:36 +00:00
dependabot[bot]
0c46b7ea0e Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 20:11:02 +00:00
Nils Fitinghoff
1e20d28217 book: Fix rtic-sync references 2023-08-29 11:31:11 +00:00
Nils Fitinghoff
cc1e7154fc book: Update default priority to 0 2023-08-29 11:31:11 +00:00
Nils Fitinghoff
57be9b0dc9 book: Fix broken link 2023-08-29 11:31:11 +00:00
Emil Fresk
adfe33f597 Release rtic-monotonics 1.1.0, release rtic-sync 1.0.2 2023-08-29 07:17:31 +00:00
Nils Fitinghoff
4ea73021d6 rtic-monotonics: Add 64-bit SysTick monotonic
Counting at 1 kHz, 32 bits for counting ticks is not enough to ensure
monotonicity for more than 50 days. Add a feature to change the backing
storage to 64 bits.
2023-08-25 15:16:18 +00:00
Nils Fitinghoff
609f14b1e4 ritc-sync: Fix make_channel forcing dependency into user crate
Before, `make_channel` assumed that `critical_section` would be
available in the namespace of the code that invoked the macro. Access
`critical_section` through `rtic-sync` instead.
2023-08-25 05:07:13 +00:00
Xo Wang
bca8f0815b Fix graph in preface.md example
Match up the graph's name for the task whose priority is 4 to its name in the preceding paragraph
2023-08-25 05:03:37 +00:00
Emil Fresk
df66163ace Bump embedded-hal-async in rtic-monotonics 2023-08-20 11:03:35 +00:00
cz
2aa71ff6f5 Fix RTIC HackMD link
Fix RTIC HackMD link
2023-08-17 09:44:56 +00:00
Emil Fresk
5b2d722446 Support RP2040 PAC v0.5 in rtic-monotonics 2023-08-08 10:00:20 +00:00
Emil Fresk
0228350ef4 Fixed new TAIT requirement and release v2.0.1 of RTIC 2023-07-25 08:16:13 +00:00
Henrik Tjäder
1967058784 Examples: Update deps
Bumps proc-macro2 fixing https://github.com/rust-lang/rust/issues/113152
2023-07-01 04:00:30 +00:00
Henrik Tjäder
e8863a45e6 Changelog: Monotonics: Add date 2023-07-01 04:00:30 +00:00
Henrik Tjäder
716b1c7e75 Changelog: Common: Add date 2023-07-01 04:00:30 +00:00
Henrik Tjäder
e63adaeb50 Changelog: Time: Add date 2023-07-01 04:00:30 +00:00
Henrik Tjäder
fe1e633b11 Changelog: Sync: Add dates and yanked status 2023-07-01 04:00:30 +00:00
Henrik Tjäder
5bf3464254 Changelog: Add v2
Change URLs to point to this repo
2023-07-01 04:00:30 +00:00
Henrik Tjäder
8e67b11597 Changelog: Macros: Add v2 2023-07-01 04:00:30 +00:00
Henrik Tjäder
670d751154 Add changelog for rtic-macros 2023-07-01 04:00:30 +00:00
Henrik Tjäder
508d607c21 CI: Update changelog to match repo 2023-07-01 04:00:30 +00:00
dependabot[bot]
bfa3214f2f Update indexmap requirement from 1.9.2 to 2.0.0
Updates the requirements on [indexmap](https://github.com/bluss/indexmap) to permit the latest version.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/bluss/indexmap/compare/1.9.2...2.0.0)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 06:25:20 +00:00
Henrik Tjäder
5c4e4365e4 CI: Changelog also required for GHMQ 2023-06-30 04:37:59 +00:00
Henrik Tjäder
28614a088e CI: Remove Bors 2023-06-30 04:37:59 +00:00
Henrik Tjäder
6480ec5c3a CI: Remove travis, once and for all 2023-06-30 04:37:59 +00:00
bors[bot]
08c0065c02
Merge #767
767: allow #[init] and #[idle] to be externed r=korken89 a=wiktorwieclaw

I updated `rtic-macros` to a allow init and idle to be externally defined.

## Design notes
* Updated `extern_binds` example to include external #[init] and #[idle] functions.
* Added docs to Local and Shared structs. The `extern_binds` example has a `#![deny(missing_docs)]` which caused some issues.

## Testing
Apart from building the example, I also used this feature in one of my projects and ran it on a MCU [here](98ca7bd42e/crates/cansat-stm32f4/src/main.rs (L59-L74))

## Related issues
* https://github.com/rtic-rs/rtic/issues/505

## Related PRs
* https://github.com/rtic-rs/rtic-syntax/pull/71

Co-authored-by: Vixu <lonevixu@gmail.com>
2023-06-14 18:29:29 +00:00
bors[bot]
bd67d2aaa5
Merge #768
768: rtic-sync: Fix possible UB in make_channel! r=datdenkikniet a=korken89

Closes #763

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-06-14 18:23:10 +00:00
Emil Fresk
db18c00c00 rtic-sync: Fix possible UB in make_channel! 2023-06-14 20:16:06 +02:00
Vixu
7c9cbda6fc add new entry to CHANGELOG.md 2023-06-08 14:30:14 +02:00
Vixu
a7653cc050 allow init and idle to be externed 2023-06-08 14:14:36 +02:00
bors[bot]
5997938293
Merge #766
766: Book: v2 examples in repo r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-06-08 06:31:33 +00:00
bors[bot]
9f8d54c1ee
Merge #765
765: CI: Cleanup r=korken89 a=AfoHT

Tidy up, main purpose to test the full CI

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-06-08 05:35:04 +00:00
Henrik Tjäder
8622db1258 Book: v2 examples in repo 2023-06-07 21:47:50 +02:00
Henrik Tjäder
3ce4ef26fa CI: Cleanup 2023-06-07 18:15:32 +02:00
bors[bot]
bd54afae41
Merge #764
764: CI: Fix refspec for git push r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-06-06 04:41:16 +00:00
Henrik Tjäder
13610e4c7b CI: Fix refspec for git push 2023-06-05 23:21:14 +02:00
bors[bot]
073f48208d
Merge #761
761: book: Fix nightly feature attr r=datdenkikniet a=Dirbaio



Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-06-03 13:37:48 +00:00
Dario Nieuwenhuis
bcdbeebb96
book: Fix nightly feature attr 2023-06-01 21:48:47 +02:00
bors[bot]
9daae8968f
Merge #760
760: ci/releasetuning2 r=korken89 a=AfoHT

- ci: Fix versionmajor typo
- docs: Point to older release sources


Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-06-01 06:26:34 +00:00