Commit graph

1616 commits

Author SHA1 Message Date
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
Henrik Tjäder
269226fa9a docs: Point to older release sources
Docs are not built for rtic.rs anymore
2023-05-31 22:50:55 +02:00
Henrik Tjäder
aee7c78a3c ci: Fix versionmajor typo 2023-05-31 22:41:42 +02:00
bors[bot]
1499a445cd
Merge #759
759: ci/releasetuning r=korken89 a=AfoHT

- CI: Cargo doc for both pre and post v2
- CI: Make it clearer why a branch push was omitted
- ci: Use job outputs


Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-05-31 20:22:31 +00:00
Henrik Tjäder
371f625322 ci: Move env to job context 2023-05-31 22:15:39 +02:00
Henrik Tjäder
aa7d7fd052 ci: Use job outputs 2023-05-31 21:53:36 +02:00
Henrik Tjäder
392795ebe0 CI: Make it clearer why a branch push was omitted 2023-05-31 21:22:58 +02:00
Henrik Tjäder
f56112b688 CI: Cargo doc for both pre and post v2 2023-05-31 21:22:34 +02:00
bors[bot]
781ed8a9cd
Merge #756
756: v2.0 release r=datdenkikniet a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-05-31 18:01:36 +00:00
datdenkikniet
963c8e340b Do the book trick 2023-05-28 10:03:57 +02:00
bors[bot]
01fa3f2e72
Merge #757
757: Monotonics migration example: fix Systick start function r=datdenkikniet a=mattico



Co-authored-by: Matt Ickstadt <mattico8@gmail.com>
2023-05-27 14:59:59 +00:00
Matt Ickstadt
050c2cfc34
Monotonics migration example: fix Systick start function 2023-05-26 10:03:46 -05:00
Emil Fresk
c3884e212c v2.0 release 2023-05-25 08:27:58 +02:00
bors[bot]
1e4977152a
Merge #755
755: Fix this anchor r=korken89 a=datdenkikniet



Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-05-23 18:26:47 +00:00
datdenkikniet
e79dd77b7a Fix this anchor 2023-05-23 20:14:19 +02:00
bors[bot]
2a509580ea
Merge #754
754: Update pretty_env_logger requirement from 0.4.0 to 0.5.0 r=korken89 a=dependabot[bot]

Updates the requirements on [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) to permit the latest version.
<details>
<summary>Commits</summary>
<ul>
<li><a href="0e238400e1"><code>0e23840</code></a> v0.5.0</li>
<li><a href="4dde161d21"><code>4dde161</code></a> deps: env_logger 0.10</li>
<li><a href="f9e35b6dbb"><code>f9e35b6</code></a> Update env logger (<a href="https://redirect.github.com/seanmonstar/pretty-env-logger/issues/49">#49</a>)</li>
<li><a href="93d6d19e06"><code>93d6d19</code></a> Run CI on linux,mac,windows using GitHub actions (<a href="https://redirect.github.com/seanmonstar/pretty-env-logger/issues/51">#51</a>)</li>
<li><a href="5cb49cade2"><code>5cb49ca</code></a> Update README.md (<a href="https://redirect.github.com/seanmonstar/pretty-env-logger/issues/34">#34</a>)</li>
<li><a href="cfad8e9445"><code>cfad8e9</code></a> Update Cargo.toml instructions in README.md (<a href="https://redirect.github.com/seanmonstar/pretty-env-logger/issues/32">#32</a>)</li>
<li>See full diff in <a href="https://github.com/seanmonstar/pretty-env-logger/compare/v0.4.0...v0.5.0">compare view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 06:35:13 +00:00
bors[bot]
62162241d4
Merge #741
741: Docs 2 r=korken89 a=datdenkikniet

Working on the migration guide and other docs

TODO:
- [x] Migration guide
- [x] Hardcoded examples should link to example code that is tested (this was already done, AFAICT)
- [x] Address #699 
- [x] Discuss: should we remove references to non-v2, apart from the migration guide and link to the book for v1? (Off-github conclusion: yes)
- [x] RTIC {vs,and} Embassy (important: distinction between embassy runtime & HALs)
- [x] More descriptive docs on how to implement & PR implementations of `Monotonic` to `rtic-monotonics` 


Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-05-23 06:26:28 +00:00
dependabot[bot]
ab55190bc6
Update pretty_env_logger requirement from 0.4.0 to 0.5.0
Updates the requirements on [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) to permit the latest version.
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.4.0...v0.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 17:03:43 +00:00
datdenkikniet
9fa073f793 Fix link 2023-05-20 17:42:13 +02:00
datdenkikniet
311291b95a Make Monotonic implementation more obvious 2023-05-20 12:02:51 +02:00
datdenkikniet
039c2b8bd4 Add some docs on RTIC AND embassy 2023-05-20 11:45:56 +02:00
datdenkikniet
4b3bf59215 Move some more stuff to the archive, update this link 2023-05-20 11:24:03 +02:00
datdenkikniet
ab17bbf9f3 Demarcate a bit more 2023-05-11 19:20:58 +02:00
datdenkikniet
5c6483f71b Update these 2023-05-11 19:20:58 +02:00