[package] # TODO fix `authors` and `name` if you didn't use `cargo-generate` authors = ["{{authors}}"] name = "{{project-name}}" edition = "2021" version = "0.1.0" [dependencies] cortex-m = { version = "0.7", features = ["critical-section-single-core"] } defmt = "0.3" defmt-rtt = "0.4" panic-probe = { version = "0.3", features = ["print-defmt"] } # TODO select the correct rtic backend rtic = { version = "2.0.0-alpha.1", features = [ "correct-rtic-backend" ] } # TODO enter your HAL here # some-hal = "1.2.3" # TODO add a monotonic if you use scheduling # rtic-monotonics = { version = "1.0.0-alpha.2", features = [ "cortex-m-systick" ]} # cargo build/run [profile.dev] codegen-units = 1 debug = 2 debug-assertions = true # <- incremental = false opt-level = "s" # <- overflow-checks = true # <- # cargo test [profile.test] codegen-units = 1 debug = 2 debug-assertions = true # <- incremental = false opt-level = "s" # <- overflow-checks = true # <- # cargo build/run --release [profile.release] codegen-units = 1 debug = 2 debug-assertions = false # <- incremental = false lto = 'fat' opt-level = "s" # <- overflow-checks = false # <- # cargo test --release [profile.bench] codegen-units = 1 debug = 2 debug-assertions = false # <- incremental = false lto = 'fat' opt-level = "s" # <- overflow-checks = false # <- # uncomment this to switch from the crates.io version of defmt to its git version # check app-template's README for instructions # [patch.crates-io] # defmt = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version reported by `probe-run --version`" } # defmt-rtt = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version reported by `probe-run --version`" } # defmt-test = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version reported by `probe-run --version`" } # panic-probe = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version reported by `probe-run --version`" }