[package] authors = ["Jorge Aparicio ", "Daniel Egger "] categories = ["embedded", "hardware-support", "no-std"] description = "HAL for the STM32F1xx family of microcontrollers" keywords = ["arm", "cortex-m", "stm32", "hal"] license = "MIT OR Apache-2.0" name = "stm32f1xx-hal" repository = "https://github.com/stm32-rs/stm32f1xx-hal" documentation = "https://docs.rs/stm32f1xx-hal" readme = "README.md" edition = "2018" version = "0.4.0" [package.metadata.docs.rs] features = ["stm32f103", "rt"] [[example]] name = "timer-interrupt-rtfm" required-features = ["rt"] [dependencies] cortex-m = "0.6.0" nb = "0.1.2" cortex-m-rt = "0.6.8" stm32f1 = "0.8.0" as-slice = "0.2" [dependencies.void] default-features = false version = "1.0.2" [dependencies.cast] default-features = false version = "0.2.2" [dependencies.embedded-hal] version = "0.2.3" features = ["unproven"] [dev-dependencies] panic-halt = "0.2.0" panic-semihosting = "0.5.2" panic-itm = "0.4.1" cortex-m-rtfm = "0.4.3" cortex-m-semihosting = "0.3.3" enc28j60 = "0.2.1" heapless = "0.4.3" m = "0.1.1" mfrc522 = "0.2.0" serde_derive = "1.0.90" [dev-dependencies.byteorder] default-features = false version = "1.3.1" [dev-dependencies.cobs] default-features = false version = "0.1.4" [dev-dependencies.crc16] default-features = false version = "0.4.0" [dev-dependencies.either] default-features = false version = "1.5.2" #[dev-dependencies.jnet] #git = "https://github.com/japaric/jnet" #rev = "df96b408049ca952ad7844d6552e87cf8fc18d2a" #[dev-dependencies.motor-driver] #git = "https://github.com/japaric/motor-driver" #rev = "00c8b15223643090d69f1acfb8b7a7a43a440417" #[dev-dependencies.mpu9250] #git = "https://github.com/japaric/mpu9250" #rev = "8f9ecad690093cb71c41301ca5e5705706150610" [dev-dependencies.serde] default-features = false version = "1.0.90" #[dev-dependencies.serde-json-core] #git = "https://github.com/japaric/serde-json-core" #rev = "6f12b77c1ffeae167989fe06e0d8b15978bd6d18" [features] device-selected = [] doc = [] rt = ["stm32f1/rt"] stm32f100 = ["stm32f1/stm32f100", "device-selected"] stm32f101 = ["stm32f1/stm32f101", "device-selected"] stm32f103 = ["stm32f1/stm32f103", "device-selected"] # Devices with 64 or 128 Kb ROM medium = [] # Devices with 256 or 512 Kb ROM high = ["medium"] # Devices with 768 Kb ROM or more xl = ["high"] [profile.dev] incremental = false codegen-units = 1 [profile.release] codegen-units = 1 debug = true lto = true