sandbox icon indicating copy to clipboard operation
sandbox copied to clipboard

How to compile?

Open bitdivine opened this issue 3 years ago • 2 comments

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

bitdivine avatar Jun 28 '21 14:06 bitdivine

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.

etrombly avatar Jun 28 '21 16:06 etrombly

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.

bitdivine avatar Jul 01 '21 13:07 bitdivine