[package] name = "stabilizer" # Keep versions in Cargo.toml and py/setup.py synchronized. version = "0.10.0" resolver = "2" authors = [ "Robert Jördens ", "Ryan Summers ", ] description = "Firmware for the Sinara Stabilizer board (STM32H743, Ethernet, PoE, 2 ADCs, 2 DACs)" categories = ["embedded", "no-std", "hardware-support", "science"] license = "MIT OR Apache-2.0" keywords = ["ethernet", "stm32h7", "adc", "dac", "physics"] repository = "https://github.com/quartiq/stabilizer" readme = "README.md" documentation = "https://docs.rs/stabilizer/" edition = "2021" exclude = [ "doc/", "doc/*" ] [badges] maintenance = { status = "actively-developed" } [package.metadata.docs.rs] features = [] default-target = "thumbv7em-none-eabihf" [workspace] members = ["ad9959", "serial-settings"] [dependencies] panic-persist = { version = "0.3", features = ["utf8", "custom-panic-handler"] } sequential-storage = "3" embedded-io = "0.6" embedded-storage = "0.3" embedded-storage-async = "0.4" cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] } cortex-m-rt = { version = "0.7", features = ["device"] } log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] } rtt-target = "0.3" serde = { version = "1.0", features = ["derive"], default-features = false } serde-json-core = "0.6" heapless = { version = "0.8", features = ["serde"] } rtic = { version = "2.1", features = ["thumbv7-backend"] } rtic-monotonics = { version = "2.0", features = ["cortex-m-systick"] } embedded-hal = "0.2.7" num_enum = { version = "0.7.3", default-features = false } paste = "1" idsp = "0.15.1" ad9959 = { path = "ad9959", version = "0.3.0" } serial-settings = { version = "0.1", path = "serial-settings" } mcp230xx = "1.0" mutex-trait = "0.2" fugit = "0.3" rtt-logger = "0.2" mono-clock = "0.1" spin = { version = "0.9", default-features = false, features = ["spin_mutex"]} shared-bus = { version = "0.3", features = ["cortex-m"] } lm75 = "0.2" enum-iterator = "2.1.0" rand_xorshift = "0.3.0" rand_core = "0.6.4" minimq = "0.9.0" usb-device = "0.3.2" usbd-serial = "0.2" # Keep this synced with the miniconf version in py/setup.py miniconf = { version = "0.13", features = ["json-core", "derive", "postcard"] } miniconf_mqtt = { version = "0.13" } tca9539 = "0.2" smoltcp-nal = { version = "0.5", features = ["shared-stack"] } postcard = "1" bit_field = "0.10.2" embassy-futures = { version = "0.1", default-features = false } serde_with = { version = "3.9", default-features = false, features = ["macros"] } [build-dependencies] built = { version = "0.7", features = ["git2"], default-features = false } [dependencies.stm32h7xx-hal] version = "0.16.0" features = ["stm32h743v", "rt", "ethernet", "xspi", "usb_hs"] [features] nightly = [] pounder_v1_0 = [] [profile.dev] codegen-units = 1 incremental = false opt-level = 3 [profile.release] opt-level = 3 debug = true lto = true codegen-units = 1