[package] name = "AS5048_test" edition = "2021" version = "0.1.0" [dependencies] cortex-m = { version = "0.7", features = ["critical-section-single-core"] } defmt = { version = "0.3", features = ["encoding-rzcobs"] } defmt-brtt = { version = "0.1", default-features = false, features = ["rtt"] } panic-probe = { version = "0.3", features = ["print-defmt"] } rtic = { version = "2.0.0", features = [ "thumbv7-backend" ] } stm32f1xx-hal = { version = "0.10.0", features = ["stm32f103", "rt", "medium"] } rtic-monotonics = { version = "1.0.0", features = [ "cortex-m-systick" ]} as5048a = "0.2.1" num-traits = { version = "0.2", default-features = false, features = ["libm"] } # cargo build/run [profile.dev] codegen-units = 1 debug = 2 debug-assertions = true # <- incremental = false opt-level = 'z' # <- overflow-checks = true # <- # cargo test [profile.test] codegen-units = 1 debug = 2 debug-assertions = true # <- incremental = false opt-level = 3 # <- overflow-checks = true # <- # cargo build/run --release [profile.release] codegen-units = 1 debug = 2 debug-assertions = false # <- incremental = false lto = 'fat' opt-level = 3 # <- overflow-checks = false # <- # cargo test --release [profile.bench] codegen-units = 1 debug = 2 debug-assertions = false # <- incremental = false lto = 'fat' opt-level = 3 # <- 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 supported by probe-rs (see changelog)" } # defmt-rtt = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version supported by probe-rs (see changelog)" } # defmt-test = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version supported by probe-rs (see changelog)" } # panic-probe = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version supported by probe-rs (see changelog)" }