Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
add inline to most cortex_m::asm methods
|
|
|
|
|
|
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
|
|
|
|
|
|
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
|
|
Semihosting protocol has not changed for Arvmv8m and hence it
need not be disabled for this architecture.
Signed-off-by: Aurabindo Jayamohanan <mail@aurabindo.in>
|
|
other packages)
Disable the semihosting test on thumbv8, as it's currently unsupported in cortex-m-semihosting
|
|
|
|
|
|
|
|
|
|
- taken from japaric/lm3s6965evb
|
|
|
|
the former requires a feature gate; the later pulls in the cortex-m crate
|
|
the `#[entry]` and `#[exception]` attributes ignored the declared unsafety and
always expanded to a safe function. This caused the following valid code to
error at compile time:
``` rust
#[entry]
unsafe fn main() -> ! {
foo();
//~^ ERROR call to unsafe function is unsafe and requires unsafe function or block
loop {}
}
unsafe fn foo() {}
```
|
|
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
|
|
|
|
|
|
|
|
|
|
|
|
defaulted
Signed-off-by: Gabriel Smith <ga29smith@gmail.com>
|
|
Signed-off-by: Gabriel Smith <ga29smith@gmail.com>
|
|
they are not required anymore
|
|
|
|
Previously .data's LMA was specified by a computated address instead of
placing it into FLASH explicitly, which means FLASH overflows caused by
.data would not be detected by the linker.
Fixes #86.
|
|
to make it more compatible with LLD. This commit contains no functional changes.
fixes #70
Overview of changes:
- Alignment checks are enabled now that rust-lld (LLD 7.0) supports the modulo
operator.
- Removed some private symbols (e.g. __foo) in favor of ADDR and SIZEOF.
- Turned .got into a NOLOAD section now that rust-lld supports it.
- Replaced `ABSOLUTE(.)` with `.` as an old LLD overlap bug seems to be gone and
ABSOLUTE seems to cause problems, like #70, on bigger programs.
- Made the linker assertion messages more uniform.
- Extended test suite to check that linking works with both rust-lld and GNU
LD.
|
|
- document the `main` symbol as an alternative to `entry!`
- document `ResetTrampoline`
- fix: `PendSV` is available on ARMv6-M
- document that `entry!` and `exception!` must be called from accessible modules.
- add a deny lint to `entry!` and `exception!` to prevent them from being invoked from inaccessible
modules.
|