Cargo.toml 682 B

12345678910111213141516171819202122232425262728293031323334
  1. [package]
  2. name = "mega2560"
  3. version = "0.1.0"
  4. authors = ["Jake Kalstad <jakekalstad@gmail.com>"]
  5. edition = "2021"
  6. license = "MIT OR Apache-2.0"
  7. [[bin]]
  8. name = "mega2560"
  9. test = false
  10. bench = false
  11. [dependencies]
  12. panic-halt = "0.2.0"
  13. ag-lcd = "*"
  14. embedded-hal = "0.2.7"
  15. embedded-time = "*"
  16. rp2040-hal="*"
  17. [dependencies.arduino-hal]
  18. git = "https://github.com/rahix/avr-hal"
  19. rev = "3b8f39fa2ec5e3359c7bedc33d982e75e8cc3700"
  20. features = ["arduino-mega2560"]
  21. # Configure the build for minimal size - AVRs have very little program memory
  22. [profile.dev]
  23. panic = "abort"
  24. lto = true
  25. opt-level = "s"
  26. [profile.release]
  27. panic = "abort"
  28. codegen-units = 1
  29. debug = true
  30. lto = true
  31. opt-level = "s"