aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/application/nrf
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-04-18 19:25:49 +0000
committerGitHub <[email protected]>2023-04-18 19:25:49 +0000
commit216b120f15305a647d797a7386bc4bd96087aa17 (patch)
tree99d8ac6bca9d291e4c027e29938b3063238c4638 /examples/boot/application/nrf
parent08d9e5981ece5f8a354dd12b45d146f19b26b820 (diff)
parent8a9136e4e47a2d02084f343cd6d212f419c37f04 (diff)
Merge #1379
1379: enable inline-asm feature for cortex-m in examples r=Dirbaio a=pennae 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. Co-authored-by: pennae <[email protected]>
Diffstat (limited to 'examples/boot/application/nrf')
-rw-r--r--examples/boot/application/nrf/Cargo.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/boot/application/nrf/Cargo.toml b/examples/boot/application/nrf/Cargo.toml
index cda1917b3..d6a30602d 100644
--- a/examples/boot/application/nrf/Cargo.toml
+++ b/examples/boot/application/nrf/Cargo.toml
@@ -18,9 +18,9 @@ defmt-rtt = { version = "0.4", optional = true }
18panic-reset = { version = "0.1.1" } 18panic-reset = { version = "0.1.1" }
19embedded-hal = { version = "0.2.6" } 19embedded-hal = { version = "0.2.6" }
20 20
21cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } 21cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
22cortex-m-rt = "0.7.0" 22cortex-m-rt = "0.7.0"
23 23
24[features] 24[features]
25ed25519-dalek = ["embassy-boot/ed25519-dalek"] 25ed25519-dalek = ["embassy-boot/ed25519-dalek"]
26ed25519-salty = ["embassy-boot/ed25519-salty"] \ No newline at end of file 26ed25519-salty = ["embassy-boot/ed25519-salty"]