Init
This commit is contained in:
+44
@@ -0,0 +1,44 @@
|
||||
[package]
|
||||
name = "hello-can-stm32"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
embedded-hal = "0.2.7"
|
||||
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
|
||||
cortex-m-rtic = "1.1.3"
|
||||
panic-halt = "0.2.0"
|
||||
cortex-m-semihosting = { version = "0.5.0" }
|
||||
stm32f1xx-hal = { version = "0.10.0", features = ["rt", "stm32f103"] }
|
||||
shared-bus-rtic = "0.2.2"
|
||||
embedded-alloc = "0.5.0"
|
||||
nb = "1.1.0"
|
||||
cortex-m-rt = "0.7.3"
|
||||
bxcan = "0.7.0"
|
||||
heapless = "0.7.16"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
no-debug = ["cortex-m-semihosting/no-semihosting"]
|
||||
|
||||
[profile.dev]
|
||||
opt-level = "z"
|
||||
codegen-units = 1
|
||||
overflow-checks = false
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = "z"
|
||||
codegen-units = 1
|
||||
overflow-checks = false
|
||||
|
||||
[profile.release]
|
||||
debug = true
|
||||
opt-level = "z"
|
||||
codegen-units = 1
|
||||
|
||||
[profile.release.package."*"]
|
||||
debug = true
|
||||
opt-level = "z"
|
||||
codegen-units = 1
|
||||
Reference in New Issue
Block a user