[package] authors = ["Bas Oppe"] version = "0.1.0" description = "existing HAL with custom modifications" edition = "2018" keywords = [ "stm32g4xx", "hal"] license = "MIT/Apache-2.0" name = "stm32g473-hal_oppe" [dependencies] cortex-m = "0.7.1" nb = "0.1.1" stm32g4 = "0.14.0" paste = "1.0" bitflags = "1.2" vcell = "0.1" static_assertions = "1.1" stm32-usbd = "0.6.0" [dependencies.cast] version = "0.2.7" default-features = false [dependencies.bare-metal] features = ["const-fn"] version = "0.2.5" [dependencies.embedded-hal] features = ["unproven"] version = "0.2.4" [dependencies.embedded-dma] version = "0.1.2" [dependencies.void] default-features = false version = "1.0.2" [dependencies.stable_deref_trait] default-features = false version = "1.1" [dependencies.defmt] version = "0.3.0" optional = true [dev-dependencies] cortex-m-rt = "0.6.10" cortex-m-rtfm = "0.5.1" cortex-m-semihosting = "0.3.5" panic-semihosting = "0.5.3" panic-halt = "0.2.0" panic-itm = "0.4.2" lazy_static = { version = "1.4", features = ["spin_no_std"] } log = "0.4.11" cortex-m-log = { version = "0.7", features = ["log-integration"] } cfg-if = "0.1.10" rtt-target = { version = "0.3.0", features = ["cortex-m"] } panic-rtt-target = { version = "0.1.1", features = ["cortex-m"] } mpu6050 = "0.1.4" bme680 = "0.6.0" embedded-sdmmc = "0.3.0" #TODO: Separate feature sets [features] default = ["rt","stm32g473"] rt = ["stm32g4/rt"] stm32g473 = ["stm32g4/stm32g473"] log-itm = ["cortex-m-log/itm"] log-rtt = [] log-semihost = ["cortex-m-log/semihosting"] unstable-defmt = ["defmt"] [profile.dev] codegen-units = 1 debug = true incremental = false lto = false [profile.release] debug = false codegen-units = 1 incremental = false lto = true