| Age | Commit message (Collapse) | Author |
|
Updates the requirements on [panic-semihosting](https://github.com/rust-embedded/cortex-m) to permit the latest version.
- [Release notes](https://github.com/rust-embedded/cortex-m/releases)
- [Changelog](https://github.com/rust-embedded/cortex-m/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-embedded/cortex-m/compare/v0.5.2...v0.6.0)
---
updated-dependencies:
- dependency-name: panic-semihosting
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
675: enable GitHub Dependabot r=AfoHT a=rursprung
this ensures that the dependencies are kept up to date. see [the docs][] for further information.
[the docs]: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
Co-authored-by: Ralph Ursprung <ralph.ursprung@gmail.com>
|
|
this ensures that the dependencies are kept up to date. see [the docs][]
for further information.
[the docs]: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
|
|
674: CI: Updated to setup-python@v4 r=korken89 a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
673: CI: Run example tests on thumbv8m.* r=korken89 a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
672: CI: Update checkout from v2 to v3 r=korken89 a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
671: Docs: fancier meeting redirect r=perlindgren a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
|
|
669: CI: Run rustup and cargo directly r=korken89 a=AfoHT
actions-rs seems abandoned: See [link](https://github.com/actions-rs/toolchain/issues/216)
As GHA bundles rustup using it directly is trivial
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
668: Docs on RTOS r=AfoHT a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
|
|
|
|
|
|
|
|
|
|
660: Clarify r=AfoHT a=01joja
I made 3 suggested changes
- `.cargo/config` -> `.cargo/config.toml`. Now extensions for vs code recognizes that it is a toml-file.
- Moved a note about how to configure target in cargo.toml to by-example.md from app_init.md.
- changed all occurrences of `.cargo/config` to `.cargo/config.toml` in the ru and eng version of the book.
Co-authored-by: Jonas Jacobsson <01joja@gmail.com>
|
|
661: Fix new lint in the compiler r=AfoHT a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
|
|
|
|
|
|
|
|
652: Remove use of basepri register on thumbv8m.base r=AfoHT a=neonquill
The basepri register appears to be aviable on thumbv8m.main but not thumbv8m.base. At the very least, attempting to compile against a Cortex-M23 based Microchip ATSAML10E16A generates an error:
```
error[E0432]: unresolved import `cortex_m::register::basepri`
--> /Users/dwatson/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-rtic-1.1.3/src/export.rs:25:5
|
25 | use cortex_m::register::basepri;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `basepri` in `register`
```
I wasn't sure if it made more sense to replace the `armv7m` config flag with something related to basepri availability or to get closer to matching the cortex-m use of several architecture specific flags. In the end i chose to make the minimal change possible and just narrowed the existing `thumbv8m` check.
Context:
[cortex-m:src/register/mod.rs](https://github.com/rust-embedded/cortex-m/blob/4e908625204a1e95dd3fd5bdcd8d66d6bc11c3bc/src/register/mod.rs#L33):
```
#[cfg(all(not(armv6m), not(armv8m_base)))]
pub mod basepri;
```
[cortex-m:build.rs](https://github.com/rust-embedded/cortex-m/blob/4e908625204a1e95dd3fd5bdcd8d66d6bc11c3bc/build.rs#L21):
```
} else if target.starts_with("thumbv8m.base") {
println!("cargo:rustc-cfg=cortex_m");
println!("cargo:rustc-cfg=armv8m");
println!("cargo:rustc-cfg=armv8m_base");
```
Co-authored-by: David Watson <david@neonquill.com>
|
|
The basepri register appears to be aviable on thumbv8m.main but not
thumbv8m.base. At the very least, attempting to compile against a
Cortex-M23 based Microchip ATSAML10E16A generates an error:
```
error[E0432]: unresolved import `cortex_m::register::basepri`
--> /Users/dwatson/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-rtic-1.1.3/src/export.rs:25:5
|
25 | use cortex_m::register::basepri;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `basepri` in `register`
```
This is an attempt to account for the fact that thumbv8m.base (M23)
MCUs don't have the BASEPRI register but have more than 32
interrupts. This moves away from the architecture specific config
flags and switches to a more functional flag.
Make the mask size depend on the max interrupt id
Rather than assuming a fixed interrupt count of 32 this code uses an
array of u32 bitmasks to calculate the priority mask. The size of this
array is calculated at compile time based on the size of the largest
interrupt id being used in the target code. For thumbv6m this should
be equivalent to the previous version that used a single u32 mask. For
thumbv8m.base it will be larger depending on the interrupts used.
Don't write 0s to the ISER and ICER registers
Writing 0s to these registers is a no-op. Since these masks should be
calculated at compile time, this conditional should result in writes
being optimized out of the code.
Prevent panic on non-arm targets
Panicking on unknown targets was breaking things like the doc build on
linux. This change should only panic when building on unknown arm
targets.
|
|
653: Allow custom `link_section` attributes for late resources r=AfoHT a=vccggorski
This commit makes RTIC aware of user-provided `link_section` attributes,
letting user override default section mapping.
Co-authored-by: Gabriel Górski <gabriel.gorski@volvocars.com>
|
|
|
|
|
|
This commit makes RTIC aware of user-provided `link_section` attributes,
letting user override default section mapping.
|
|
650: Release RTIC v1.1.3 r=korken89 a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
|
|
|
|
649: Bump rtic-syntax to v1.0.2 and fix Changelog r=korken89 a=AfoHT
Use the latest rtic-syntax, update the changelog with the last few undocumented releases
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
|
|
|
|
645: fix ci: use SYST::PTR r=korken89 a=japaric
SYST::ptr has been deprecated in cortex-m v0.7.5
SYST::PTR is available since cortex-m v0.7.0
CI was failing due to a warning turned into an error by `deny(warnings)`
Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
|
|
SYST::ptr has been deprecated in cortex-m v0.7.5
SYST::PTR is available since cortex-m v0.7.0
|
|
644: Fix macros to Rust 2021 r=perlindgren a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
|
|
|
|
643: Fix clash with defmt r=AfoHT a=korken89
Fixes #642
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
|
|
|
|
641: More ergonomic error from static asserts messages r=perlindgren a=korken89
Closes #634
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
|
|
|
|
638: Fixed warning from Rust Analyzer r=perlindgren a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
|
|
|
|
637: Prepare v1.1.2 r=perlindgren a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
|