Fixed compilation for native targets on non-x86 host systems (#336, #337).
Added
The Delay struct now offers direct delay_us() and delay_ms() methods
without having to go through the embedded-hal traits (#344).
v0.7.2
Fixed
Fixed a bug where calling asm::delay() with an argument of 0 or 1 would
underflow, leading to a very long delay.
v0.7.1
Added
New assembly methods asm::semihosting_syscall, asm::bootstrap, and
asm::bootload.
Deprecated
msp::write has been deprecated in favor of asm::bootstrap. It was not
possible to use msp::write without causing Undefined Behavior, so all
existing users are encouraged to migrate.
Fixed
Fixed a bug in asm::delay which could lead to incorrect codegen and
infinite loops.
Improved timing guarantees of asm::delay on multiple-issue CPU cores.
Additional compiler fences added to inline assembly where necessary.
Fixed DWARF debug information in pre-built assembly binaries.
v0.7.0
Added
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.
Fixed compilation for native targets on non-x86 host systems (#336, #337).
Added
The Delay struct now offers direct delay_us() and delay_ms() methods
without having to go through the embedded-hal traits (#344).
[v0.7.2] - 2021-03-07
Fixed
Fixed a bug where calling asm::delay() with an argument of 0 or 1 would
underflow, leading to a very long delay.
[v0.7.1] - 2021-01-25
Added
New assembly methods asm::semihosting_syscall, asm::bootstrap, and
asm::bootload.
Deprecated
msp::write has been deprecated in favor of asm::bootstrap. It was not
possible to use msp::write without causing Undefined Behavior, so all
existing users are encouraged to migrate.
Fixed
Fixed a bug in asm::delay which could lead to incorrect codegen and
infinite loops.
Improved timing guarantees of asm::delay on multiple-issue CPU cores.
Additional compiler fences added to inline assembly where necessary.
Fixed DWARF debug information in pre-built assembly binaries.
[v0.7.0] - 2020-11-09
Added
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.
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 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)
Bumps cortex-m from 0.6.3 to 0.7.3.
Release notes
Sourced from cortex-m's releases.
... (truncated)
Changelog
Sourced from cortex-m's changelog.
... (truncated)
Commits
45e7ab7
Merge #3451747d44
Prepare for v0.7.3.47246ec
Merge #3444a393e0
Update src/delay.rs8133657
Use from instead of as7329f57
remove inline on delay_us, and made u32 conversion syntax consistentd13ebd2
Use . syntax instead of :: on delay_ms1a2b6ea
Use overflow-workaround on delay_mscf5dbcd
Remove dependence on embedded-hal for Delay1a4e096
Merge #341Dependabot 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 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)