# 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.66.1" name = "stm32h7xx-hal" version = "0.16.0" authors = [ "Andrew Straw ", "Richard Meadows ", "Henrik Böving ", "Jan Adä ", "Robert Jördens ", "Ryan Summers ", "Matthew Meyer ", "Florian Jung ", "Matt Ickstadt ", ] exclude = [".gitignore"] description = "Hardware Abstraction Layer implementation for STM32H7 series microcontrollers" documentation = "https://docs.rs/stm32h7xx-hal" readme = "README.md" keywords = [ "arm", "cortex-m", "stm32h7xx", "hal", "embedded-hal", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "0BSD" repository = "https://github.com/stm32-rs/stm32h7xx-hal" [package.metadata.docs.rs] features = [ "stm32h743v", "rt", "xspi", "sdmmc", "sdmmc-fatfs", "fmc", "usb_hs", "rtc", "ethernet", "ltdc", "crc", "rand", "can", "defmt", "log", "fugit/defmt", ] rustdoc-args = [ "--cfg", "docsrs", ] targets = ["thumbv7em-none-eabihf"] [profile.dev] codegen-units = 1 debug = 2 incremental = false [profile.release] opt-level = "s" lto = true codegen-units = 1 debug = 2 [[example]] name = "blinky-stm32h747i-disco" required-features = [ "rt", "stm32h747cm7", ] [[example]] name = "can-echo" required-features = ["can"] [[example]] name = "can-fd" required-features = ["can"] [[example]] name = "crc" required-features = ["crc"] [[example]] name = "display-dsi-video-stm32h747i-disco" required-features = [ "dsi", "ltdc", "fmc", "rtc", "rm0399", ] [[example]] name = "display-dsi-video-teartest-stm32h747i-disco" required-features = [ "dsi", "ltdc", "fmc", "rm0399", ] [[example]] name = "display-dsi-command-teartest-stm32h747i-disco" required-features = [ "dsi", "ltdc", "fmc", "rm0399", ] [[example]] name = "embedded-graphics" required-features = [ "ltdc", "xspi", "rm0468", ] [[example]] name = "ethernet-stm32h747i-disco" required-features = [ "rt", "stm32h747cm7", "ethernet", ] [[example]] name = "ethernet-rtic-stm32h747i-disco" required-features = [ "rt", "stm32h747cm7", "ethernet", ] [[example]] name = "ethernet-rtic-stm32h735g-dk" required-features = [ "rt", "stm32h735", "ethernet", ] [[example]] name = "ethernet-rtic-nucleo-h723zg" required-features = [ "rt", "stm32h735", "ethernet", ] [[example]] name = "ethernet-nucleo-h743zi2" required-features = [ "rt", "revision_v", "stm32h743v", "ethernet", ] [[example]] name = "fmc" required-features = [ "fmc", "rm0399", ] [[example]] name = "fmc_nand_flash" required-features = ["fmc"] [[example]] name = "octospi" required-features = [ "xspi", "rm0468", ] [[example]] name = "octospi_hyperram" required-features = [ "xspi", "rm0468", ] [[example]] name = "qspi" required-features = [ "xspi", "rm0433", ] [[example]] name = "qspi_mdma" required-features = [ "xspi", "rm0433", ] [[example]] name = "qspi_flash_memory" required-features = [ "xspi", "rm0433", ] [[example]] name = "rtc" required-features = [ "rt", "rtc", ] [[example]] name = "rtic" required-features = ["rt"] [[example]] name = "rtic_timers" required-features = [ "rt", "rm0433", ] [[example]] name = "sdmmc" required-features = ["sdmmc"] [[example]] name = "sdmmc_fat" required-features = [ "sdmmc", "sdmmc-fatfs", ] [[example]] name = "spi-dma-rtic" required-features = ["rt"] [[example]] name = "tick_timer" required-features = ["rt"] [[example]] name = "usb_serial" required-features = [ "usb_hs", "gpio-h747", ] [[example]] name = "usb_rtic" required-features = [ "rt", "usb_hs", "rm0433", ] [[example]] name = "usb_passthrough" required-features = [ "usb_hs", "rm0399", ] [[example]] name = "usb_phy_serial_interrupt" required-features = [ "rt", "usb_hs", "rm0433", ] [[example]] name = "vos0" required-features = ["revision_v"] [dependencies.bare-metal] version = "1.0.0" [dependencies.cast] version = "0.3.0" default-features = false [dependencies.chrono] version = "0.4" optional = true default-features = false [dependencies.cortex-m] version = "^0.7.7" features = ["critical-section-single-core"] [dependencies.defmt] version = ">=0.2.0,<0.4" optional = true [dependencies.embedded-display-controller] version = "^0.2.0" optional = true [dependencies.embedded-dma] version = "0.2.0" [dependencies.embedded-hal] version = "0.2.6" features = ["unproven"] [dependencies.embedded-sdmmc] version = "0.5" optional = true [dependencies.embedded-storage] version = "0.3" [dependencies.fdcan] version = "0.2" optional = true [dependencies.fugit] version = "0.3.5" [dependencies.log] version = "0.4.14" optional = true [dependencies.nb] version = "1.0.0" [dependencies.paste] version = "1.0.1" [dependencies.rand_core] version = "0.6" optional = true default-features = false [dependencies.sdio-host] version = "0.9" optional = true [dependencies.smoltcp] version = "0.11.0" features = [ "medium-ethernet", "proto-ipv4", "socket-raw", ] optional = true default-features = false [dependencies.stm32-fmc] version = "0.3" optional = true [dependencies.stm32h7] version = "^0.15.1" default-features = false [dependencies.synopsys-usb-otg] version = "0.4" features = ["cortex-m"] optional = true [dependencies.void] version = "1.0.2" default-features = false [dev-dependencies.cfg-if] version = "1.0.0" [dev-dependencies.cortex-m-log] version = "0.8.0" features = [ "itm", "semihosting", "log-integration", ] [dev-dependencies.cortex-m-rt] version = ">=0.6.15,<0.8" [dev-dependencies.cortex-m-rtic] version = "1.1" [dev-dependencies.cortex-m-semihosting] version = "0.5.0" [dev-dependencies.eg-seven-segment] version = "0.2.0" [dev-dependencies.embedded-graphics] version = "0.8" [dev-dependencies.lazy_static] version = "1.4.0" features = ["spin_no_std"] [dev-dependencies.log] version = "0.4.11" [dev-dependencies.numtoa] version = "0.2.3" [dev-dependencies.otm8009a] version = "0.1" [dev-dependencies.panic-halt] version = "0.2.0" [dev-dependencies.panic-itm] version = "~0.4.1" [dev-dependencies.panic-rtt-target] version = "0.1.0" features = ["cortex-m"] [dev-dependencies.panic-semihosting] version = "0.6" [dev-dependencies.rtt-target] version = "0.4.0" [dev-dependencies.tinybmp] version = "0.5" [dev-dependencies.usb-device] version = "0.3" [dev-dependencies.usbd-serial] version = "0.2.0" [features] can = ["fdcan/fdcan_h7"] cm4 = [] cm7 = [] crc = [] default = ["rt"] device-selected = [] dsi = ["embedded-display-controller"] ethernet = ["smoltcp"] example-ldo = [] example-smps = [] fmc = ["stm32-fmc"] gpio-h72 = [] gpio-h747 = [] gpio-h7a2 = [] log-itm = [] log-rtt = [] log-semihost = [] ltdc = ["embedded-display-controller"] rand = ["rand_core"] revision_v = [] rm0399 = ["gpio-h747"] rm0433 = ["gpio-h747"] rm0455 = ["gpio-h7a2"] rm0468 = ["gpio-h72"] rt = ["stm32h7/rt"] rtc = ["chrono"] sdmmc = ["sdio-host"] sdmmc-fatfs = [ "embedded-sdmmc", "sdmmc", ] smps = [] stm32h735 = [ "stm32h7/stm32h735", "device-selected", "revision_v", "rm0468", "smps", ] stm32h742 = [ "stm32h7/stm32h743", "device-selected", "rm0433", ] stm32h742v = [ "stm32h7/stm32h743v", "device-selected", "revision_v", "rm0433", ] stm32h743 = [ "stm32h7/stm32h743", "device-selected", "rm0433", ] stm32h743v = [ "stm32h7/stm32h743v", "device-selected", "revision_v", "rm0433", ] stm32h747cm7 = [ "stm32h7/stm32h747cm7", "device-selected", "revision_v", "rm0399", "cm7", "dsi", "smps", ] stm32h750 = [ "stm32h7/stm32h743", "device-selected", "rm0433", ] stm32h750v = [ "stm32h7/stm32h743v", "device-selected", "revision_v", "rm0433", ] stm32h753 = [ "stm32h7/stm32h753", "device-selected", "rm0433", ] stm32h753v = [ "stm32h7/stm32h753v", "device-selected", "revision_v", "rm0433", ] stm32h7a3 = [ "stm32h7/stm32h7b3", "device-selected", "revision_v", "rm0455", "smps", ] stm32h7b0 = [ "stm32h7/stm32h7b3", "device-selected", "revision_v", "rm0455", "smps", ] stm32h7b3 = [ "stm32h7/stm32h7b3", "device-selected", "revision_v", "rm0455", "smps", ] usb_hs = [ "synopsys-usb-otg", "synopsys-usb-otg/hs", ] xspi = []