diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-04-18 19:25:49 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-18 19:25:49 +0000 |
| commit | 216b120f15305a647d797a7386bc4bd96087aa17 (patch) | |
| tree | 99d8ac6bca9d291e4c027e29938b3063238c4638 /examples/boot/application/nrf | |
| parent | 08d9e5981ece5f8a354dd12b45d146f19b26b820 (diff) | |
| parent | 8a9136e4e47a2d02084f343cd6d212f419c37f04 (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.toml | 4 |
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 } | |||
| 18 | panic-reset = { version = "0.1.1" } | 18 | panic-reset = { version = "0.1.1" } |
| 19 | embedded-hal = { version = "0.2.6" } | 19 | embedded-hal = { version = "0.2.6" } |
| 20 | 20 | ||
| 21 | cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } | 21 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } |
| 22 | cortex-m-rt = "0.7.0" | 22 | cortex-m-rt = "0.7.0" |
| 23 | 23 | ||
| 24 | [features] | 24 | [features] |
| 25 | ed25519-dalek = ["embassy-boot/ed25519-dalek"] | 25 | ed25519-dalek = ["embassy-boot/ed25519-dalek"] |
| 26 | ed25519-salty = ["embassy-boot/ed25519-salty"] \ No newline at end of file | 26 | ed25519-salty = ["embassy-boot/ed25519-salty"] |
