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