drone new generates gibberish package section
WizardUli opened this issue · comments
Michal Ulianko commented
Ran
drone new --device nrf52832 --flash-size 512K --ram-size 64K --probe openocd --toolchain nightly-2020-08-26 hello_world
and got hello_world/Cargo.toml containing:
cargo-features = ["resolver"]
[package]
name = "hello_world"
version = "0.1.0"
authors = ["Michal Ulianko <michal.ulianko@gmail.com>"]
edition = "2018"
resolver = "2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "hello_world"
path = "src/bin.rs"
test = false
doc = false
[features]
default = []
std = [
"drone-core/std",
"drone-cortexm/std",
"drone-nrf-map/std",
"futures/std",
]
heaptrace = ["drone-core/heaptrace"]
[dependencies]
drone-core = { version = "0.12.0" }
drone-cortexm = { version = "0.12.0", features = ["bit-band", "floating-point-unit", "memory-protection-unit"] }
drone-nrf-map = { version = "0.12.0" }
futures = { version = "0.3.0", default-features = false }
[profile.release]
lto = true
debug = true
panic = "abort"
I'm on drone version 0.12.2.
Michal Ulianko commented
I guess the pull request #13 solves it. I'll test it soon.
Michal Ulianko commented
Yep. #13 works like a charm.