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