Closed
Description
STR
Start from the cortex-m-quickstart template and write:
#[entry]
fn main() -> ! {
let x = basepri::read();
loop {}
}
compile for the thumbv8m.main-none-eabi
target; you get:
error: linking with `rust-lld` failed: exit code: 1
= note: rust-lld: error: undefined symbol: __basepri_r
The thumbv8m.main-none-eabi.a
archive / binary blob is missing __basepri_r
and other symbols. asm-v7.s
should be compiled for this target and included in the archive.
Metadata
$ rustc -V
rustc 1.36.0 (a53f9df32 2019-07-03)
Metadata
Metadata
Assignees
Labels
No labels