# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.59" name = "stm32f7xx-hal" version = "0.8.0" authors = ["Matt Vertescher "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "HAL for the STM32F7xx family of microcontrollers" documentation = "https://docs.rs/stm32f7xx-hal" readme = "README.md" keywords = [ "arm", "cortex-m", "stm32f7xx", "hal", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/stm32-rs/stm32f7xx-hal" [package.metadata.docs.rs] features = [ "stm32f746", "rt", ] [profile.dev] codegen-units = 1 incremental = false [profile.release] lto = true codegen-units = 1 debug = 2 [lib] name = "stm32f7xx_hal" path = "src/lib.rs" [[example]] name = "blinky" path = "examples/blinky.rs" required-features = [ "device-selected", "rt", ] [[example]] name = "blinky-timer-irq" path = "examples/blinky-timer-irq.rs" [[example]] name = "can-echo" path = "examples/can-echo.rs" required-features = ["has-can"] [[example]] name = "can-loopback" path = "examples/can-loopback.rs" required-features = ["has-can"] [[example]] name = "delay-syst-blinky" path = "examples/delay-syst-blinky.rs" required-features = ["device-selected"] [[example]] name = "delay-timer-blinky" path = "examples/delay-timer-blinky.rs" required-features = ["device-selected"] [[example]] name = "exti_button" path = "examples/exti_button.rs" required-features = [ "stm32f767", "rt", ] [[example]] name = "flash" path = "examples/flash.rs" required-features = [ "stm32f746", "rt", ] [[example]] name = "fmc" path = "examples/fmc.rs" required-features = [ "stm32f746", "rt", "fmc", ] [[example]] name = "hello" path = "examples/hello.rs" required-features = [ "stm32f746", "rt", ] [[example]] name = "i2c_scanner" path = "examples/i2c_scanner.rs" [[example]] name = "pwm" path = "examples/pwm.rs" [[example]] name = "pwm-sinus" path = "examples/pwm-sinus.rs" [[example]] name = "rng" path = "examples/rng.rs" [[example]] name = "rtc" path = "examples/rtc.rs" [[example]] name = "rtic-tick" path = "examples/rtic-tick.rs" required-features = [ "device-selected", "rtic", ] [[example]] name = "serial_delay" path = "examples/serial_delay.rs" required-features = [ "stm32f746", "rt", ] [[example]] name = "serial_dma" path = "examples/serial_dma.rs" [[example]] name = "serial_echo" path = "examples/serial_echo.rs" required-features = [ "stm32f746", "rt", ] [[example]] name = "serial_parity" path = "examples/serial_parity.rs" required-features = [ "stm32f767", "rt", ] [[example]] name = "spi" path = "examples/spi.rs" [[example]] name = "spi_16" path = "examples/spi_16.rs" [[example]] name = "spi_dma" path = "examples/spi_dma.rs" [[example]] name = "spi_dma_16" path = "examples/spi_dma_16.rs" [[example]] name = "stm32f7disco-qspi-flash" path = "examples/stm32f7disco-qspi-flash/main.rs" required-features = [ "stm32f746", "rt", ] [[example]] name = "stm32f7disco-screen" path = "examples/stm32f7disco-screen/main.rs" required-features = [ "stm32f746", "rt", ] [[example]] name = "timer-periph" path = "examples/timer-periph.rs" [[example]] name = "timer-syst" path = "examples/timer-syst.rs" [[example]] name = "usb_serial" path = "examples/usb_serial.rs" required-features = [ "stm32f723", "rt", "synopsys-usb-otg", ] [dependencies.as-slice] version = "0.2" [dependencies.bare-metal] version = "1.0" [dependencies.bitflags] version = "2.6.0" [dependencies.bxcan] version = "0.7" [dependencies.cast] version = "0.3.0" default-features = false [dependencies.cortex-m] version = "0.7.7" [dependencies.cortex-m-rt] version = ">=0.6.15, <0.8" [dependencies.display-interface] version = "0.5.0" optional = true [dependencies.embedded-hal] version = "0.2.7" features = ["unproven"] [dependencies.fugit] version = "0.3.7" [dependencies.fugit-timer] version = "0.1.3" [dependencies.micromath] version = "2.1.0" [dependencies.nb] version = "1.1.0" [dependencies.rand_core] version = "0.6" [dependencies.rtic-monotonic] version = "1.0" optional = true [dependencies.stm32-fmc] version = "0.3" features = ["sdram"] optional = true [dependencies.stm32f7] version = "0.15" [dependencies.synopsys-usb-otg] version = "0.4.0" features = ["cortex-m"] optional = true [dependencies.time] version = "0.3" default-features = false [dependencies.void] version = "1.0.2" default-features = false [dev-dependencies.cortex-m-semihosting] version = "0.5.0" [dev-dependencies.embedded-graphics] version = "0.6.2" [dev-dependencies.panic-halt] version = "0.2.0" [dev-dependencies.panic-semihosting] version = "0.6.0" [dev-dependencies.time] version = "0.3" features = ["macros"] default-features = false [dev-dependencies.usb-device] version = "0.3.2" [dev-dependencies.usbd-serial] version = "0.2.2" [features] device-selected = [] fmc = ["stm32-fmc"] fmc_lcd = ["display-interface"] gpioj = [] gpiok = [] has-can = [] ltdc = [] rt = ["stm32f7/rt"] rtic = [ "rt", "rtic-monotonic", ] 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", ] 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"] usb_fs = [ "synopsys-usb-otg", "synopsys-usb-otg/fs", ] usb_hs = [ "synopsys-usb-otg", "synopsys-usb-otg/hs", ] usb_hs_phy = []