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