etrombly / sandbox

Apache License 2.0
18 stars 2 forks source link

How to compile? #3

Open bitdivine opened 3 years ago

bitdivine commented 3 years ago

Thank you for an interesting-looking crate. I would like to play around with it, however I have not managed to compile it. Does it require a specific version of Rust?

I am using cross for cross compilation:

$ cross --version
cross 0.2.1
cargo 1.51.0 (43b129a20 2021-03-16)

and have tried variants of:

$ cross build --target thumbv7em-none-eabihf
etrombly commented 3 years ago

I'm not using cross, just a regular cargo build. In the repo there is a .cargo/config, that has the target config. Right now it's set up for a bluepill, but there's another branch for a stm407 blackpill, can't guarantee it's working though. I forget what state I left it in. The hardware is working, but I never built a frame for it, so haven't been able to test if it's calibrated correctly.

bitdivine commented 3 years ago

Thank you, that is useful information. I have a couple of blue pills. I may have a shot at getting it to work there the next time I get some time.