Giter Club home page Giter Club logo

Comments (6)

TheZoq2 avatar TheZoq2 commented on June 15, 2024

Did you forget to post the error you get?

from stm32f1xx-hal.

PvdBerg1998 avatar PvdBerg1998 commented on June 15, 2024

It's in the title. I should probably have posted some more information though. Here you go:

error: linking with `rust-lld` failed: exit code: 1
  |
  = note: "rust-lld" "-flavor" "gnu" "-L" <snip> "-Tlink.x" "-Bdynamic"
  = note: rust-lld: error:
          ERROR(cortex-m-rt): The interrupt vectors are missing.
          Possible solutions, from most likely to less likely:
          - Link to a svd2rust generated device crate
          - Disable the 'device' feature of cortex-m-rt to build a generic application (a dependency
          may be enabling it)
          - Supply the interrupt handlers yourself. Check the documentation for details.

Oddly enough the crate uses the rust LLD linker if I'm not mistaken.

from stm32f1xx-hal.

therealprof avatar therealprof commented on June 15, 2024

What exactly are you trying to compile? Is there a crate somewhere? Is it an example? Which Rust version are you using? Without a way to reproduce it there's very little chance of fixing it...

from stm32f1xx-hal.

PvdBerg1998 avatar PvdBerg1998 commented on June 15, 2024

It's not an example, though it should be exactly the same as the quickstart. I started rewriting a recent project of mine from STM32F103. Running latest nightly on win10.

from stm32f1xx-hal.

therealprof avatar therealprof commented on June 15, 2024

Oh, nightly is broken for thumb targets at the moment. Not sure what the problem is but it seems to be related to the LLVM9 upgrade...

from stm32f1xx-hal.

PvdBerg1998 avatar PvdBerg1998 commented on June 15, 2024

Ah, sorry for the false positive then. Thanks for the great work!

from stm32f1xx-hal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.