Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Interrupt handlers error #35

Closed
csagonero opened this issue Oct 2, 2017 · 2 comments · Fixed by #36
Closed

Interrupt handlers error #35

csagonero opened this issue Oct 2, 2017 · 2 comments · Fixed by #36

Comments

@csagonero
Copy link

I 'm trying to compile the blinky.rs example for STM32F072RBT6

xargo rustc --release --target thumbv6m-none-eabi --example blinky -- -C link-arg=-Tlink.x -C linker=arm-none-eabi-ld -Z linker-flavor=ld

I'm getting this error :

arm-none-eabi-ld: 
          Invalid '.vector_table.exceptions' section.
arm-none-eabi-ld: 
          The interrupt handlers are missing. If you are not linking to a device
          crate then you supply the interrupt handlers yourself. Check the
          documentation.

May be I missed something ...

@japaric
Copy link
Member

japaric commented Oct 2, 2017

Do you happen to be using a nightly toolchain newer than 1.22.0-nightly (325ba23d5 2017-09-19)? I'm suspecting that there may have been some regression in recent rustcs. Someone reported a similar problem in rust-embedded/cortex-m-quickstart#17. I suggest trying an older toolchain release.

@japaric
Copy link
Member

japaric commented Oct 3, 2017

Fixed in cortex-m-rt v0.3.6. Affected users try cargo update.

rukai pushed a commit to rukai/cortex-m-rt that referenced this issue May 1, 2021
35: 0.4.0 r=therealprof a=jonas-schievink



Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants