Closed jemo07 closed 2 years ago
Look this: https://github.com/stm32-rs/stm32g0xx-hal#building-an-example. You have to specify for which particular G0 you wanna build it.
cargo build --release --example blinky --features stm32g071
Those are available options: https://github.com/stm32-rs/stm32g0xx-hal/blob/main/Cargo.toml#L53-L58
Hello, did a fresh git clone install on a new Ubuntu install. when I try to run, I get
( error: failed to run custom build command for
stm32g0 v0.13.0)
So I tried several things, but I finally settled on issue with this git as I tried others and the build works. You can see here, I did a new git clone, then a cargo test and it fails the same way a build fails.
I was running the build as follows:
jemo@jemo-MBP:~/development/git/stm32g0xx-hal$ cargo build --release --example blinky
Here is the output of what I mentioned above: