aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf-rtos-trace
diff options
context:
space:
mode:
authorpennae <[email protected]>2023-04-18 21:07:36 +0200
committerpennae <[email protected]>2023-04-18 21:07:36 +0200
commit8a9136e4e47a2d02084f343cd6d212f419c37f04 (patch)
treeed9439f42f3dcfeb609cdc8911c83f8b07b87326 /examples/nrf-rtos-trace
parenta673b9aa294a55c441f3f61c48481484629b4347 (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/nrf-rtos-trace')
-rw-r--r--examples/nrf-rtos-trace/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nrf-rtos-trace/Cargo.toml b/examples/nrf-rtos-trace/Cargo.toml
index 6f7cb8875..0a7141c4e 100644
--- a/examples/nrf-rtos-trace/Cargo.toml
+++ b/examples/nrf-rtos-trace/Cargo.toml
@@ -21,7 +21,7 @@ embassy-executor = { version = "0.1.0", path = "../../embassy-executor", feature
21embassy-time = { version = "0.1.0", path = "../../embassy-time" } 21embassy-time = { version = "0.1.0", path = "../../embassy-time" }
22embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac"] } 22embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac"] }
23 23
24cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } 24cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
25cortex-m-rt = "0.7.0" 25cortex-m-rt = "0.7.0"
26panic-probe = { version = "0.3" } 26panic-probe = { version = "0.3" }
27futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 27futures = { version = "0.3.17", default-features = false, features = ["async-await"] }