# 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 = "2018" name = "daisy_bsp" version = "0.5.1" authors = ["Antoine van Gelder "] description = "A board support package for the Electro-Smith Daisy Seed" documentation = "https://github.com/antoinevg/daisy_bsp/wiki" readme = "README.md" keywords = [ "cortex-m", "bsp", "stm32h7xx", "daisy", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT" repository = "https://github.com/antoinevg/daisy_bsp" [package.metadata.docs.rs] features = [ "seed", "pod", "petal", "patch", "field", ] targets = ["thumbv7em-none-eabihf"] [profile.dev] opt-level = "s" debug = true incremental = false [profile.release] opt-level = "s" debug = true [[example]] name = "blinky" required-features = ["seed"] [[example]] name = "blinky_pac" required-features = ["seed"] [[example]] name = "blinky_hal" required-features = ["seed"] [[example]] name = "button" required-features = ["seed"] [[example]] name = "audio_passthrough" required-features = ["seed"] [[example]] name = "audio_testsignal" required-features = ["seed"] [[example]] name = "audio_midi" required-features = [ "alloc", "seed", "uses_num", ] [[example]] name = "serial" required-features = ["seed"] [[example]] name = "adc_hal" required-features = ["seed"] [[example]] name = "adc_bsp" required-features = ["seed"] [[example]] name = "itm" required-features = [ "seed", "log-itm", ] [dependencies.cortex-m] version = "0.7.5" [dependencies.cortex-m-rt] version = "0.7.1" features = ["device"] [dependencies.cortex-m-semihosting] version = "0.5.0" [dependencies.cty] version = "0.2.1" [dependencies.num] version = "0.3.1" features = ["libm"] optional = true default-features = false [dependencies.num-derive] version = "0.3.3" optional = true default-features = false [dependencies.num-traits] version = "0.2.14" optional = true default-features = false [dependencies.static-alloc] version = "0.2.3" optional = true [dependencies.stm32h7xx-hal] version = "0.12.2" features = [ "stm32h750v", "rt", "revision_v", "usb_hs", "xspi", ] [dependencies.without-alloc] version = "0.2.1" optional = true [dev-dependencies.panic-halt] version = "0.2.0" [dev-dependencies.panic-itm] version = "0.4.2" [dev-dependencies.panic-semihosting] version = "0.5.6" [features] alloc = [ "static-alloc", "without-alloc", ] default = ["seed"] field = [] log-itm = [] patch = [] petal = [] pod = [] seed = [] uses_num = [ "num", "num-derive", "num-traits", ]