| Age | Commit message (Collapse) | Author |
|
356: Rust toolchain cache breaking on version change r=korken89 a=AfoHT
There seems to be issues when Rust 1.45 is upgraded to 1.46.
```
[command]/usr/share/rust/.cargo/bin/rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/runner/.rustup
stable-x86_64-unknown-linux-gnu (directory override for '/home/runner/work/cortex-m-rtic/cortex-m-rtic')
rustc 1.45.2 (d3fb005a3 2020-07-31)
[command]/usr/share/rust/.cargo/bin/rustup toolchain install stable
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2020-08-27, rust version 1.46.0 (04488afe3 2020-08-24)
info: downloading component 'clippy'
info: downloading component 'rustfmt'
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rustfmt'
info: removing previous version of component 'cargo'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: installing component 'clippy'
info: Defaulting to 500.0 MiB unpack ram
info: installing component 'rustfmt'
info: installing component 'cargo'
info: installing component 'rust-std'
info: rolling back changes
error: could not rename component file from '/home/runner/.rustup/tmp/5ymt177yixkhb4fl_dir/bk' to '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share'
error: could not rename component file from '/home/runner/.rustup/tmp/yvk581uxohbpg7yg_dir/bk' to '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc'
error: could not rename component file from '/home/runner/.rustup/tmp/mth68dj6icrr8wix_dir/bk' to '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/man'
error: could not rename component file from '/home/runner/.rustup/tmp/ve_xiaam6y08_0nm_dir/bk' to '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/etc'
error: could not rename component file from '/home/runner/.rustup/tmp/p658oanwd5shnzba_dir/bk' to '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/zsh'
error: failed to install component: 'rust-std-x86_64-unknown-linux-gnu', detected conflict: '"lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-0bb9b63424f4fc5d.rlib"'
##[error]The process '/usr/share/rust/.cargo/bin/rustup' failed with exit code 1
```
Note that `/home/runner/.rustup` links to `/usr/share/rust/.rustup`
Disabling the cache for rust toolchain seems to not cause this issue
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
|
|
355: Multi-core removal r=korken89 a=AfoHT
Dependent on https://github.com/rtic-rs/rtic-syntax/pull/27
With the same reasoning as ^^
For now the testing is done against my rtic-syntax/multiremove-branch, but before we merge it should corrected.
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
|
|
|
|
rtic-syntax
|
|
|
|
|
|
|
|
|
|
|
|
353: Preparing v0.5.5 release r=AfoHT a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
|
|
|
|
352: Reuse cortex-m r=TeXitoi a=AfoHT
Potential fix for #351
Introduced by #338
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
350: Preparing for 0.5.4 release r=AfoHT a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
|
|
|
|
341: Enable caching for Github Actions r=korken89 a=AfoHT
Using [GHA caching](https://docs.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows) to store key parts of the testing environment.
One example is downloading `arm-none-eabi-gcc` (which takes roughly 1 minute) for each checkexamples.
The rustup setup is roughly 200MB and restores nicely.
Rust examples can be found [here](https://github.com/actions/cache/blob/master/examples.md#rust---cargo)
**Something to discuss:**
Several notable projects remove some problematic files in order to keep cache size reasonable
[rust-analyzer](https://github.com/rust-analyzer/rust-analyzer/blob/9a7db8fa009c612168ef16f6ed72315b5406ed09/.travis.yml#L2-L4)
[cargo duscussion](https://github.com/rust-lang/cargo/issues/5885)
[tantivity-search](https://github.com/tantivy-search/tantivy/pull/531/files)
[clap-rs](https://github.com/clap-rs/clap/pull/1658/files#diff-354f30a63fb0907d4ad57269548329e3R5-R16)
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
|
|
|
|
|
|
|
|
340: rtic::export::Peripherals created by into instead of transmute r=korken89 a=perlindgren
Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
|
|
344: Added badges to 'README.md' file r=AfoHT a=regexident
Badges for quick access to the corresponding pages on **crates.io**, **docs.rs**, the **book** (aka **rtic.rs**), as well as a badge for showing the **minimum required rustc version**.
Co-authored-by: Vincent Esche <regexident@gmail.com>
|
|
|
|
343: Updated URL for example 'init.rs' file r=AfoHT a=regexident
(the file at tag '0.5.0' still uses `rtfm`, rather than `rtic` from tag '0.5.3' or later)
Co-authored-by: Vincent Esche <regexident@gmail.com>
|
|
|
|
342: Spell check r=AfoHT a=regexident
Co-authored-by: Vincent Esche <regexident@gmail.com>
|
|
(the file at tag '0.5.0' still uses `rtfm`, rather than `rtic` from tag '0.5.3' or later)
|
|
|
|
(This spelling is consistent with the one provided by Merriam Webster for use an an adjective)
|
|
|
|
|
|
337: Examples: Clarify extern section r=korken89 a=dbrgn
Some beginners are confused about the "extern" section, so I added an explanation comment to all examples.

Furthermore, using the UARTx interrupts when UART is actually being used in the same example may be confusing, so I changed them all to SSI0/QEI0.
Co-authored-by: Danilo Bargen <mail@dbrgn.ch>
|
|
338: Fixes an issue where one could double take the cortex_m Peripheral r=japaric a=korken89
Closes #321
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
|
|
Added qemu test
Added comment
Typo
Add cfg for homogeneous
More cfg
Now multicore working
Add .run file
|
|
Some beginners are confused about the "extern" section, so I added an
explanation comment to all examples. Furthermore, using the UARTx
interrupts when UART is actually being used in the same example may be
confusing, so I changed them all to SSI0/QEI0.
|
|
330: Combine publish, docs and build into one workflow, do not test on nightly r=korken89 a=AfoHT
Streamline the Github Actions workflow a bit, currently it does not play well with multiple workflows since dependencies needs to be within the same workflow.
This combines the previous docs and publish workflows into one larger build workflow.
If pushing to master branch, and all jobs succeed, then the deploy is also done.
No testing on nightly except for multi-core which requires nightly.
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
|
|
Preparing for v0.5.3
|
|
|
|
|
|
|
|
328: Link to GitHub from book r=korken89 a=nickray
Co-authored-by: Nicolas Stalder <n@stalder.io>
|
|
|
|
327: Small renaming fixes r=korken89 a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|