1[package]
2authors = [
3 "The Cortex-M Team <cortex-m@teams.rust-embedded.org>",
4 "Jorge Aparicio <jorge@japaric.io>",
5]
6categories = ["embedded", "hardware-support", "no-std"]
7description = "Low level access to Cortex-M processors"
8documentation = "https://docs.rs/cortex-m"
9keywords = ["arm", "cortex-m", "register", "peripheral"]
10license = "MIT OR Apache-2.0"
11name = "cortex-m"
12readme = "README.md"
13repository = "https://github.com/rust-embedded/cortex-m"
14version = "0.7.7"
15edition = "2018"
16links = "cortex-m" # prevent multiple versions of this crate to be linked together
17
18[dependencies]
19bare-metal = { version = "0.2.4", features = ["const-fn"] }
20critical-section = { version = "1.0.0", optional = true }
21volatile-register = "0.2.0"
22bitfield = "0.13.2"
23embedded-hal = "0.2.4"
24
25[dependencies.serde]
26version = "1"
27features = [ "derive" ]
28optional = true
29
30[features]
31cm7 = []
32cm7-r0p1 = ["cm7"]
33inline-asm = []
34linker-plugin-lto = []
35std = []
36critical-section-single-core = ["critical-section/restore-state-bool"]
37
38[workspace]
39members = ["xtask", "cortex-m-semihosting", "panic-semihosting", "panic-itm"]
40
41[package.metadata.docs.rs]
42targets = [
43 "thumbv8m.main-none-eabihf",
44 "thumbv6m-none-eabi",
45 "thumbv7em-none-eabi",
46 "thumbv7em-none-eabihf",
47 "thumbv7m-none-eabi",
48 "thumbv8m.base-none-eabi",
49 "thumbv8m.main-none-eabi"
50]
51