Thermostat firmware
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.2KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.5", features = ["log-integration"] }
  22. embedded-hal = "0.2"
  23. stm32f4xx-hal = { version = "0.5", features = ["rt", "stm32f429"] }
  24. stm32-eth = { version = "0.1.2", features = ["smoltcp-phy", "nucleo-f429zi"] }
  25. smoltcp = { version = "0.5.0", default-features = false, features = ["proto-ipv4", "socket-tcp", "log"] }
  26. hash2hwaddr = { version = "0.0", optional = true }
  27. [features]
  28. semihosting = ["panic-semihosting", "cortex-m-log/semihosting"]
  29. generate-hwaddr = ["hash2hwaddr"]
  30. default = ["generate-hwaddr"]
  31. [profile.release]
  32. codegen-units = 1
  33. incremental = false
  34. debug = true
  35. opt-level = "s"
  36. lto = true