Firmware for the Sinara 8451 Thermostat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Cargo.toml 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [package]
  2. categories = ["embedded", "no-std"]
  3. name = "thermostat"
  4. description = "Thermostat firmware"
  5. license = "GPL-3.0-only"
  6. authors = ["Astro <astro@spaceboyz.net>"]
  7. version = "0.0.0"
  8. keywords = ["thermostat", "laser", "physics"]
  9. repository = "https://git.m-labs.hk/M-Labs/thermostat"
  10. edition = "2018"
  11. [package.metadata.docs.rs]
  12. features = []
  13. default-target = "thumbv7em-none-eabihf"
  14. [dependencies]
  15. panic-abort = "0.3.1"
  16. panic-semihosting = { version = "0.5.1", optional = true }
  17. log = "0.4"
  18. bare-metal = "0.2"
  19. cortex-m = "0.6"
  20. cortex-m-rt = { version = "0.6", features = ["device"] }
  21. cortex-m-log = { version = "0.6", features = ["log-integration"] }
  22. stm32f4xx-hal = { version = "0.7", features = ["rt", "stm32f427"] }
  23. stm32-eth = { version = "0.1.2", features = ["smoltcp-phy"], git = "https://github.com/stm32-rs/stm32-eth.git" }
  24. smoltcp = { version = "0.6.0", default-features = false, features = ["proto-ipv4", "socket-tcp", "log"] }
  25. hash2hwaddr = { version = "0.0", optional = true }
  26. bit_field = "0.10"
  27. byteorder = { version = "1", default-features = false }
  28. nom = { version = "5", default-features = false }
  29. num-traits = { version = "0.2", default-features = false, features = ["libm"] }
  30. [patch.crates-io]
  31. # TODO: pending https://github.com/stm32-rs/stm32f4xx-hal/pull/125
  32. stm32f4xx-hal = { git = "https://github.com/thalesfragoso/stm32f4xx-hal", branch = "pwm-impl" }
  33. [features]
  34. semihosting = ["panic-semihosting", "cortex-m-log/semihosting"]
  35. generate-hwaddr = ["hash2hwaddr"]
  36. default = ["generate-hwaddr"]
  37. [profile.release]
  38. codegen-units = 1
  39. incremental = false
  40. debug = true
  41. opt-level = "s"
  42. lto = true