discovery
discovery copied to clipboard
error: Package `led-roulette v0.2.0 does not have the feature `v2`
I am getting the above error for 05-led-roulette when running cargo embed --feature v2 --target thumbv7em-non-eabihf
I tried adding below to cargo.toml
[features]
default = ["v2"]
v2 = ["microbit-v2"]
error: failed to parse manifest
Caused by: feature v2 includes microbit-v2 which is neither dependency nor another feature
fixed the issue by adding microbit-v2 = { version = "0.13.0", optional = true } and keeping the below section
[features] default = ["v2"] v2 = ["microbit-v2"]
Issue fixed as stated above