[package] edition = "2021" rust-version = "1.59" authors = ["Matt Vertescher "] categories = ["embedded", "hardware-support", "no-std"] description = "HAL for the STM32F7xx family of microcontrollers" documentation = "https://docs.rs/stm32f7xx-hal" keywords = ["arm", "cortex-m", "stm32f7xx", "hal"] license = "MIT OR Apache-2.0" name = "stm32f7xx-hal" readme = "README.md" repository = "https://github.com/stm32-rs/stm32f7xx-hal" version = "0.8.0" [package.metadata.docs.rs] features = ["stm32f746", "rt"] [dependencies] as-slice = "0.2" cortex-m = "0.7.7" cortex-m-rt = ">=0.6.15, <0.8" nb = "1.1.0" stm32f7 = "0.15" micromath = "2.1.0" synopsys-usb-otg = { version = "0.4.0", features = ["cortex-m"], optional = true } stm32-fmc = { version = "0.3", features = ["sdram"], optional = true } rand_core = "0.6" bxcan = "0.7" bare-metal = "1.0" fugit = "0.3.7" fugit-timer = "0.1.3" bitflags = "2.6.0" rtic-monotonic = { version = "1.0", optional = true } [dependencies.time] version = "0.3" default-features = false [dependencies.cast] default-features = false version = "0.3.0" [dependencies.embedded-hal] features = ["unproven"] version = "0.2.7" [dependencies.void] default-features = false version = "1.0.2" [dependencies.display-interface] optional = true version = "0.5.0" [dev-dependencies] cortex-m-semihosting = "0.5.0" panic-halt = "0.2.0" panic-semihosting = "0.6.0" embedded-graphics = "0.6.2" usb-device = "0.3.2" usbd-serial = "0.2.2" [dev-dependencies.time] version = "0.3" default-features = false features = ["macros"] [features] device-selected = [] ltdc = [] fmc = ["stm32-fmc"] usb_hs_phy = [] rt = ["stm32f7/rt"] svd-f730 = ["stm32f7/stm32f730"] svd-f745 = ["stm32f7/stm32f745"] svd-f765 = ["stm32f7/stm32f765"] svd-f7x2 = ["stm32f7/stm32f7x2"] svd-f7x3 = ["stm32f7/stm32f7x3"] svd-f7x6 = ["stm32f7/stm32f7x6"] svd-f7x7 = ["stm32f7/stm32f7x7"] svd-f7x9 = ["stm32f7/stm32f7x9"] stm32f722 = ["svd-f7x2", "device-selected"] stm32f723 = ["svd-f7x3", "device-selected", "usb_hs_phy"] stm32f730 = ["svd-f730", "device-selected", "usb_hs_phy", "fmc"] stm32f730-lpc = ["svd-f730", "device-selected", "fmc"] stm32f732 = ["svd-f7x2", "device-selected"] stm32f733 = ["svd-f7x3", "device-selected", "usb_hs_phy"] stm32f745 = ["svd-f745", "device-selected", "gpioj", "gpiok", "fmc"] stm32f746 = ["svd-f7x6", "device-selected", "gpioj", "gpiok", "ltdc", "fmc", "has-can"] stm32f756 = ["svd-f7x6", "device-selected", "gpioj", "gpiok", "ltdc", "fmc"] stm32f765 = ["svd-f765", "device-selected", "gpioj", "gpiok", "fmc"] stm32f767 = ["svd-f7x7", "device-selected", "gpioj", "gpiok", "ltdc", "fmc"] stm32f769 = ["svd-f7x9", "device-selected", "gpioj", "gpiok", "ltdc", "fmc"] stm32f777 = ["svd-f7x7", "device-selected", "gpioj", "gpiok", "ltdc", "fmc"] stm32f778 = ["svd-f7x9", "device-selected", "gpioj", "gpiok", "ltdc", "fmc"] stm32f779 = ["svd-f7x9", "device-selected", "gpioj", "gpiok", "ltdc", "fmc"] fmc_lcd = ["display-interface"] usb_fs = ["synopsys-usb-otg", "synopsys-usb-otg/fs"] usb_hs = ["synopsys-usb-otg", "synopsys-usb-otg/hs"] has-can = [] gpioj = [] gpiok = [] rtic = ["rt", "rtic-monotonic"] [profile.dev] incremental = false codegen-units = 1 [profile.release] codegen-units = 1 debug = true lto = true [[example]] name = "blinky" required-features = ["device-selected", "rt"] [[example]] name = "delay-syst-blinky" required-features = ["device-selected"] [[example]] name = "delay-timer-blinky" required-features = ["device-selected"] [[example]] name = "flash" required-features = ["stm32f746", "rt"] [[example]] name = "fmc" required-features = ["stm32f746", "rt", "fmc"] [[example]] name = "hello" required-features = ["stm32f746", "rt"] [[example]] name = "rtic-tick" required-features = ["device-selected", "rtic"] [[example]] name = "serial_delay" required-features = ["stm32f746", "rt"] [[example]] name = "serial_echo" required-features = ["stm32f746", "rt"] [[example]] name = "serial_parity" required-features = ["stm32f767", "rt"] [[example]] name = "stm32f7disco-screen" required-features = ["stm32f746", "rt"] [[example]] name = "exti_button" required-features = ["stm32f767", "rt"] [[example]] name = "usb_serial" required-features = ["stm32f723", "rt", "synopsys-usb-otg"] [[example]] name = "rng" [[example]] name = "stm32f7disco-qspi-flash" required-features = ["stm32f746", "rt"] [[example]] name = "can-echo" required-features = ["has-can"] [[example]] name = "can-loopback" required-features = ["has-can"]