|
62 | 62 | //! - [`cortex-m`](https://crates.io/crates/cortex-m) >=v0.7.6 |
63 | 63 | //! - [`cortex-m-rt`](https://crates.io/crates/cortex-m-rt) >=v0.6.13 |
64 | 64 | //! - [`vcell`](https://crates.io/crates/vcell) >=v0.1.2 |
| 65 | +//! - [`const-default`](https://crates.io/crates/const-default) >=v1.0 |
65 | 66 | //! |
66 | 67 | //! Furthermore, the "device" feature of `cortex-m-rt` must be enabled when the `rt` feature |
67 | 68 | //! is enabled. The `Cargo.toml` of the device crate will look like this: |
|
126 | 127 | //! - [`msp430`](https://crates.io/crates/msp430) v0.4.x |
127 | 128 | //! - [`msp430-rt`](https://crates.io/crates/msp430-rt) v0.4.x |
128 | 129 | //! - [`vcell`](https://crates.io/crates/vcell) v0.1.x |
| 130 | +//! - [`const-default`](https://crates.io/crates/const-default) v1.x.x |
129 | 131 | //! |
130 | 132 | //! The "device" feature of `msp430-rt` must be enabled when the `rt` feature is |
131 | 133 | //! enabled. The `Cargo.toml` of the device crate will look like this: |
|
136 | 138 | //! msp430 = "0.4.0" |
137 | 139 | //! msp430-rt = { version = "0.4.0", optional = true } |
138 | 140 | //! vcell = "0.1.0" |
| 141 | +//! const-default = { version = "1.0", default-features = false } |
139 | 142 | //! |
140 | 143 | //! [features] |
141 | 144 | //! rt = ["msp430-rt/device"] |
|
153 | 156 | //! - [`riscv-peripheral`](https://crates.io/crates/riscv-peripheral) v0.2.x (if target is RISC-V and has standard peripherals) |
154 | 157 | //! - [`riscv-rt`](https://crates.io/crates/riscv-rt) v0.13.x (if target is RISC-V) |
155 | 158 | //! - [`vcell`](https://crates.io/crates/vcell) v0.1.x |
| 159 | +//! - [`const-default`](https://crates.io/crates/const-default) v1.x.x |
156 | 160 | //! |
157 | 161 | //! The `*-rt` dependencies must be optional only enabled when the `rt` feature is enabled. |
158 | 162 | //! If target is RISC-V and supports vectored mode, you must include a feature `v-trap` to activate `riscv-rt/v-trap`. |
|
165 | 169 | //! riscv-peripheral = "0.2.0" |
166 | 170 | //! riscv-rt = { version = "0.13.0", optional = true } |
167 | 171 | //! vcell = "0.1.0" |
| 172 | +//! const-default = { version = "1.0", default-features = false } |
168 | 173 | //! |
169 | 174 | //! [features] |
170 | 175 | //! rt = ["riscv-rt"] |
|
0 commit comments