Comments (7)
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.
Fixed in drone
v0.10.1
Please update it with cargo +nightly install drone --force
.
from drone-stm32-map.
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.
I'm currently using nightly-2019-09-05. I will check with the recent nightly soon. Thanks for the report.
from drone-stm32-map.
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.
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.
Never mind, I'm silly. I did cargo build
instead of just build
from drone-stm32-map.
Related Issues (9)
- can't build the drone book 'full speed' example for stm32f303
- Support for the STM32L1xx series?
- Unclear where to put generic drivers HOT 2
- Where do I start with creating a new map? HOT 12
- svd2rust HOT 1
- No support for `cluster` in SVD files HOT 6
- Docs not showing up HOT 3
- cant't build for stm32l4x2 case by error 'not found in `drone_stm32_map_pieces::reg::usart3::brr' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drone-stm32-map.