/Cargo.toml
[package] authors = ["Chip <bytex64@bytex64.net>"] edition = "2018" readme = "README.md" name = "hello-m" version = "0.1.0" [dependencies] embedded-hal = "0.2.2" cortex-m = { version = "0.5.8", features = [ "const-fn" ] } cortex-m-rt = "0.6.6" atsam3xa = "0.1.0" panic-halt = "0.2.0" cty = "0.1.5" nb = "0.1.1" arraydeque = { version = "0.4.3", default-features = false } alloc-cortex-m = "0.3.5" r0 = "0.2.2" [dependencies.atsam3xa-hal] version = "0.1.0" features = ["rt"] [patch.crates-io] atsam3xa = { path = "../atsam3xa" } atsam3xa-hal = { path = "../atsam3xa-hal" } cortex-m-rt = { path = "../cortex-m-rt" } # this lets you use `cargo fix`! [[bin]] name = "hello-m" test = false bench = false [profile.release] opt-level = "z" codegen-units = 1 # better optimizations debug = true # symbols are nice and they don't increase the size on Flash incremental = false lto = true # better optimizations