1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
//! ARM® Cortex®-M platform crate for Drone, an Embedded Operating System.
//!
//! # Supported Cores
//!
//! | Architecture | Core name | Rust target | `cortexm_core` config flag |
//! |--------------|------------------------|-----------------------------|----------------------------|
//! | ARMv7-M | ARM® Cortex®-M3 r0p0 | `thumbv7m-none-eabi` | `cortexm3_r0p0` |
//! | ARMv7-M | ARM® Cortex®-M3 r1p0 | `thumbv7m-none-eabi` | `cortexm3_r1p0` |
//! | ARMv7-M | ARM® Cortex®-M3 r1p1 | `thumbv7m-none-eabi` | `cortexm3_r1p1` |
//! | ARMv7-M | ARM® Cortex®-M3 r2p0 | `thumbv7m-none-eabi` | `cortexm3_r2p0` |
//! | ARMv7-M | ARM® Cortex®-M3 r2p1 | `thumbv7m-none-eabi` | `cortexm3_r2p1` |
//! | ARMv7E-M | ARM® Cortex®-M4 r0p0 | `thumbv7em-none-eabi` | `cortexm4_r0p0` |
//! | ARMv7E-M | ARM® Cortex®-M4 r0p1 | `thumbv7em-none-eabi` | `cortexm4_r0p1` |
//! | ARMv7E-M | ARM® Cortex®-M4F r0p0 | `thumbv7em-none-eabihf` | `cortexm4f_r0p0` |
//! | ARMv7E-M | ARM® Cortex®-M4F r0p1 | `thumbv7em-none-eabihf` | `cortexm4f_r0p1` |
//! | ARMv8-M | ARM® Cortex®-M33 r0p2 | `thumbv8m.main-none-eabi` | `cortexm33_r0p2` |
//! | ARMv8-M | ARM® Cortex®-M33 r0p3 | `thumbv8m.main-none-eabi` | `cortexm33_r0p3` |
//! | ARMv8-M | ARM® Cortex®-M33 r0p4 | `thumbv8m.main-none-eabi` | `cortexm33_r0p4` |
//! | ARMv8-M | ARM® Cortex®-M33F r0p2 | `thumbv8m.main-none-eabihf` | `cortexm33f_r0p2` |
//! | ARMv8-M | ARM® Cortex®-M33F r0p3 | `thumbv8m.main-none-eabihf` | `cortexm33f_r0p3` |
//! | ARMv8-M | ARM® Cortex®-M33F r0p4 | `thumbv8m.main-none-eabihf` | `cortexm33f_r0p4` |
//!
//! Rust target triple and `cortexm_core` config flag should be set at the
//! application level according to this table.
//!
//! # Documentation
//!
//! - [Drone Book](https://book.drone-os.com/)
//! - [API documentation](https://api.drone-os.com/drone-cortexm/0.14/)
//!
//! # Usage
//!
//! Add the crate to your `Cargo.toml` dependencies:
//!
//! ```toml
//! [dependencies]
//! drone-cortexm = { version = "0.14.1", features = [...] }
//! ```
//!
//! Add or extend `std` feature as follows:
//!
//! ```toml
//! [features]
//! std = ["drone-cortexm/std"]
//! ```
extern crate alloc;
pub use *;
use *;