Giter VIP home page Giter VIP logo

Comments (7)

valff avatar valff commented on August 11, 2024

Hi @FrozenDroid, thanks for your interest!

This is a bug in the new project template. I will fix it soon. If you don't want to wait, you can change your generated Cargo.toml from this:

drone-cortex-m = { version = "0.10.0" }
drone-stm32-map = { version = "0.10.0", features = ["stm32l4x6", "fpu"] }

To this:

drone-cortex-m = { version = "0.10.0", features = ["fpu"] }
drone-stm32-map = { version = "0.10.0", features = ["stm32l4x6"] }

from drone-stm32-map.

valff avatar valff commented on August 11, 2024

Fixed in drone v0.10.1

Please update it with cargo +nightly install drone --force.

from drone-stm32-map.

FrozenDroid avatar FrozenDroid commented on August 11, 2024

Thanks for the quick response! Which nightly are you running? I'm getting an error from futures-util. I'll elaborate more when I'm home.

from drone-stm32-map.

valff avatar valff commented on August 11, 2024

I'm currently using nightly-2019-09-05. I will check with the recent nightly soon. Thanks for the report.

from drone-stm32-map.

valff avatar valff commented on August 11, 2024

I checked with nightly-2019-09-27 and it builds without errors on my machine. I wonder what was the error you got. Generally it should be ok to use the latest nightly with all available components according to this table: https://rust-lang.github.io/rustup-components-history/

from drone-stm32-map.

FrozenDroid avatar FrozenDroid commented on August 11, 2024

With the latest nightly as of today (rustc 1.40.0-nightly (22bc9e1d9 2019-09-30)), I'm getting multiple errors such as:

error: <inline asm>:1:19: error: brackets expression not supported on this target
        strexb %al, %al, [%rcx]
                         ^

   --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/drone-cortex-m-0.10.1/src/reg/atomic.rs:204:17
    |
204 | /                 asm!($strex
205 | |                      : "=r"(status)
206 | |                      : "r"(self), "r"(address)
207 | |                      :
208 | |                      : "volatile"
209 | |                 );
    | |__________________^
...
218 |   atomic_bits!(u8, "ldrexb $0, [$1]", "strexb $0, $1, [$2]");
    |   ----------------------------------------------------------- in this macro invocation

from drone-stm32-map.

FrozenDroid avatar FrozenDroid commented on August 11, 2024

Never mind, I'm silly. I did cargo build instead of just build

from drone-stm32-map.

Related Issues (9)

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.