New InterruptNumber trait is now required on interrupt arguments to the
various NVIC functions, replacing the previous use of Nr from bare-metal.
For backwards compatibility, InterruptNumber is implemented for types
which are Nr + Copy, but this will be removed in a future version.
Associated const PTR is introduced to Core Peripherals to
eventually replace the existing ptr() API.
A delay driver based on SysTick.
You can now use LTO to inline assembly calls, even on stable Rust.
See the asm/lib.rs documentation for more details.
Initial ARMv8-M MPU support
ICTR and ACTLR registers added
Support for the Security Attribution Unit on ARMv8-M
Changed
Previously, asm calls without the inline-asm feature enabled used pre-built
objects which were built by a GCC compiler, while inline-asm enabled the
use of llvm_asm! calls. The asm system has been replaced with a new
technique which generates Rust static libs for stable calling, and uses the
new asm! macro with inline-asm. See the asm/lib.rs documentation for
more details.
Cache enabling now uses an assembly sequence to ensure correctness.
ptr() methods are now const.
Breaking Changes
SCB::invalidate_dcache and related methods are now unsafe, see #188
Peripherals struct is now non-exhaustive, so fields may be added in future
non-breaking changes
Removed aligned dependency
Removed const-fn feature
Removed previously deprecated APIs
NVIC::clear_pending
NVIC::disable
NVIC::enable
NVIC::set_pending
SCB::system_reset
Removed basepri, basepri_max, and faultmask registers from thumbv8m.base
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on cortex-m to permit the latest version.
Changelog
Sourced from cortex-m's changelog.
Commits
bc8c562
Merge #2865016fd8
Add SAU addition to CHANGELOG4a78f3e
Remove useless deprecation warning on InterruptNumber ifor Nr169e334
Prepare for v0.7.05b5b8b1
Merge #285577f15b
Preserve input ELF flags1762486
Fix panic handler removal94d3357
Merge #283290755a
Update object to 0.22.0fd6a9db
Merge #280You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)