Description
This works: xargo build --release --target thumbv7m-none-eabi -v
But without --release I get:
error: linking with
arm-none-eabi-ld
failed: exit code: 1
....
= note: arm-none-eabi-ld:
You must specify the exception handlers.
Create a nonpub
static variable with type
cortex_m::exception::Handlers
and place it in the
'.rodata.exceptions' section. (cf. #[link_section]). Apply the
#[used]
attribute to the variable to make it reach the linker.
arm-none-eabi-ld:
Invalid '.rodata.exceptions' section.
Make sure to place a static with typecortex_m::exception::Handlers
in that section (cf. #[link_section]) ONLY ONCE.
Same error as in your FAQ but different cause?
Rookie to rust. My dev environment is in a vagga container https://github.com/bootchk/rustDevContainers rustNordicBlinky. The container script follows your tutorial more or less, for Nordic nrf52832. I get a blinky.rs to compile and load to a NRF52DK board, but it doesn't blink yet.