-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for --no-default-features #645
Comments
Could you elaborate on your use case? Currently, the only default feature of espflash is |
Sorry, I wasn't really clear. I'm using espflash from the CLI, so the feature that are being compiled and flashed into the esp32 are from my project, not from the espflash Cargo.toml: cargo espflash flash --release --features one,two My project has default features which I do not want, using the cargo build there is a flag that can be used to drop all default features but that's not a flag available on the espflash flash sub command. I'm expecting to be able to do the same as cargo build, which would look like this: cargo espflash flash --release --features one,two --no-default-features |
It would be a nice addition to allow disabling default features via a flag, similar to what
cargo build --no-default-features --features one,two
does.Currently, espflash support adding features but doesn't allow disabling the one default one.
Related to #305
The text was updated successfully, but these errors were encountered: