Cargo.toml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. [package]
  2. authors = ["Jorge Aparicio <jorge@japaric.io>", "Daniel Egger <daniel@eggers-club.de>"]
  3. categories = ["embedded", "hardware-support", "no-std"]
  4. description = "HAL for the STM32F1xx family of microcontrollers"
  5. keywords = ["arm", "cortex-m", "stm32", "hal"]
  6. license = "MIT OR Apache-2.0"
  7. name = "stm32f1xx-hal"
  8. repository = "https://github.com/stm32-rs/stm32f1xx-hal"
  9. documentation = "https://docs.rs/stm32f1xx-hal"
  10. readme = "README.md"
  11. edition = "2018"
  12. version = "0.4.0"
  13. [package.metadata.docs.rs]
  14. features = ["stm32f103", "rt"]
  15. [[example]]
  16. name = "timer-interrupt-rtfm"
  17. required-features = ["rt"]
  18. [dependencies]
  19. cortex-m = "0.6.0"
  20. nb = "0.1.2"
  21. cortex-m-rt = "0.6.8"
  22. stm32f1 = "0.8.0"
  23. as-slice = "0.2"
  24. [dependencies.void]
  25. default-features = false
  26. version = "1.0.2"
  27. [dependencies.cast]
  28. default-features = false
  29. version = "0.2.2"
  30. [dependencies.embedded-hal]
  31. version = "0.2.3"
  32. features = ["unproven"]
  33. [dev-dependencies]
  34. panic-halt = "0.2.0"
  35. panic-semihosting = "0.5.2"
  36. panic-itm = "0.4.1"
  37. cortex-m-rtfm = "0.4.3"
  38. cortex-m-semihosting = "0.3.3"
  39. enc28j60 = "0.2.1"
  40. heapless = "0.4.3"
  41. m = "0.1.1"
  42. mfrc522 = "0.2.0"
  43. serde_derive = "1.0.90"
  44. [dev-dependencies.byteorder]
  45. default-features = false
  46. version = "1.3.1"
  47. [dev-dependencies.cobs]
  48. default-features = false
  49. version = "0.1.4"
  50. [dev-dependencies.crc16]
  51. default-features = false
  52. version = "0.4.0"
  53. [dev-dependencies.either]
  54. default-features = false
  55. version = "1.5.2"
  56. #[dev-dependencies.jnet]
  57. #git = "https://github.com/japaric/jnet"
  58. #rev = "df96b408049ca952ad7844d6552e87cf8fc18d2a"
  59. #[dev-dependencies.motor-driver]
  60. #git = "https://github.com/japaric/motor-driver"
  61. #rev = "00c8b15223643090d69f1acfb8b7a7a43a440417"
  62. #[dev-dependencies.mpu9250]
  63. #git = "https://github.com/japaric/mpu9250"
  64. #rev = "8f9ecad690093cb71c41301ca5e5705706150610"
  65. [dev-dependencies.serde]
  66. default-features = false
  67. version = "1.0.90"
  68. #[dev-dependencies.serde-json-core]
  69. #git = "https://github.com/japaric/serde-json-core"
  70. #rev = "6f12b77c1ffeae167989fe06e0d8b15978bd6d18"
  71. [features]
  72. device-selected = []
  73. doc = []
  74. rt = ["stm32f1/rt"]
  75. stm32f100 = ["stm32f1/stm32f100", "device-selected"]
  76. stm32f101 = ["stm32f1/stm32f101", "device-selected"]
  77. stm32f103 = ["stm32f1/stm32f103", "device-selected"]
  78. # Devices with 64 or 128 Kb ROM
  79. medium = []
  80. # Devices with 256 or 512 Kb ROM
  81. high = ["medium"]
  82. # Devices with 768 Kb ROM or more
  83. xl = ["high"]
  84. [profile.dev]
  85. incremental = false
  86. codegen-units = 1
  87. [profile.release]
  88. codegen-units = 1
  89. debug = true
  90. lto = true