diff options
| author | pennae <[email protected]> | 2023-04-18 21:07:36 +0200 |
|---|---|---|
| committer | pennae <[email protected]> | 2023-04-18 21:07:36 +0200 |
| commit | 8a9136e4e47a2d02084f343cd6d212f419c37f04 (patch) | |
| tree | ed9439f42f3dcfeb609cdc8911c83f8b07b87326 /examples/boot/bootloader/nrf/Cargo.toml | |
| parent | a673b9aa294a55c441f3f61c48481484629b4347 (diff) | |
enable inline-asm feature for cortex-m in examples
inline assembly is supported since rust 1.59, we're way past that.
enabling this makes the compiled code more compact, and on rp2040
even decreses memory usage by not needing thunks in sram.
Diffstat (limited to 'examples/boot/bootloader/nrf/Cargo.toml')
| -rw-r--r-- | examples/boot/bootloader/nrf/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/boot/bootloader/nrf/Cargo.toml b/examples/boot/bootloader/nrf/Cargo.toml index 8a6f53643..cd0be5b48 100644 --- a/examples/boot/bootloader/nrf/Cargo.toml +++ b/examples/boot/bootloader/nrf/Cargo.toml | |||
| @@ -11,7 +11,7 @@ defmt-rtt = { version = "0.4", optional = true } | |||
| 11 | 11 | ||
| 12 | embassy-nrf = { path = "../../../../embassy-nrf", default-features = false, features = ["nightly"] } | 12 | embassy-nrf = { path = "../../../../embassy-nrf", default-features = false, features = ["nightly"] } |
| 13 | embassy-boot-nrf = { path = "../../../../embassy-boot/nrf", default-features = false } | 13 | embassy-boot-nrf = { path = "../../../../embassy-boot/nrf", default-features = false } |
| 14 | cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } | 14 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } |
| 15 | cortex-m-rt = { version = "0.7" } | 15 | cortex-m-rt = { version = "0.7" } |
| 16 | cfg-if = "1.0.0" | 16 | cfg-if = "1.0.0" |
| 17 | 17 | ||
