1[package]
2authors = [
3 "The Cortex-M Team <cortex-m@teams.rust-embedded.org>",
4 "Jorge Aparicio <jorge@japaric.io>",
5 "Hideki Sekine <sekineh@me.com>",
6]
7categories = ["embedded", "no-std"]
8description = "Minimal runtime / startup for Cortex-M microcontrollers"
9documentation = "https://docs.rs/cortex-m-rt/"
10keywords = ["arm", "cortex-m", "runtime", "startup"]
11license = "MIT OR Apache-2.0"
12name = "cortex-m-rt"
13readme = "README.md"
14repository = "https://github.com/rust-embedded/cortex-m"
15version = "0.7.5"
16autoexamples = true
17links = "cortex-m-rt" # Prevent multiple versions of cortex-m-rt being linked
18edition = "2021"
19rust-version = "1.61"
20
21[dependencies]
22cortex-m-rt-macros = { path = "macros", version = "=0.7.5" }
23
24[dev-dependencies]
25cortex-m = { version = "0.7.4", path = "../cortex-m" }
26panic-halt = "0.2.0"
27cortex-m-semihosting = { path = "../cortex-m-semihosting" }
28
29[target.'cfg(not(target_os = "none"))'.dev-dependencies]
30compiletest_rs = "0.11"
31
32[[example]]
33name = "device"
34required-features = ["device"]
35
36[[example]]
37name = "warnings"
38required-features = ["device"]
39
40[[test]]
41name = "compiletest"
42required-features = ["device"]
43
44[features]
45device = []
46set-sp = []
47set-vtor = []
48zero-init-ram = []
49paint-stack = []
50
51[package.metadata.docs.rs]
52features = ["device"]
53