aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/src
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2018-04-09 00:53:49 +0200
committerGravatar Jorge Aparicio <jorge@japaric.io> 2018-04-09 00:53:49 +0200
commit134f9ffd1f87ed1b94e3c11407ee04344f1dccbb (patch)
tree1844ec44b0bb91c42006365bbf436fc9486f695c /cortex-m-rt/src
parent01d8e0602d3ee7a789f23fccab94ce45a286a546 (diff)
downloadcortex-m-134f9ffd1f87ed1b94e3c11407ee04344f1dccbb.tar.gz
cortex-m-134f9ffd1f87ed1b94e3c11407ee04344f1dccbb.tar.zst
cortex-m-134f9ffd1f87ed1b94e3c11407ee04344f1dccbb.zip
remove mentions of Xargo from the docs
Diffstat (limited to 'cortex-m-rt/src')
-rw-r--r--cortex-m-rt/src/lib.rs17
1 files changed, 4 insertions, 13 deletions
diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs
index 06ee551..6749e27 100644
--- a/cortex-m-rt/src/lib.rs
+++ b/cortex-m-rt/src/lib.rs
@@ -48,15 +48,6 @@
//! features = ["abort-on-panic"]
//! version = "0.3.0"
//!
-//! $ # tell Xargo which standard crates to build
-//! $ $EDITOR Xargo.toml && cat $_
-//! [dependencies.core]
-//! stage = 0
-//!
-//! [dependencies.compiler_builtins]
-//! features = ["mem"]
-//! stage = 1
-//!
//! $ # memory layout of the device
//! $ $EDITOR memory.x && cat $_
//! MEMORY
@@ -91,9 +82,9 @@
//! ```
//!
//! ``` text
-//! $ cargo install xargo
+//! $ rustup target add thumbv7m-none-eabi
//!
-//! $ xargo rustc --target thumbv7m-none-eabi -- \
+//! $ cargo rustc --target thumbv7m-none-eabi -- \
//! -C link-arg=-Tlink.x -C linker=arm-none-eabi-ld -Z linker-flavor=ld
//!
//! $ arm-none-eabi-objdump -Cd $(find target -name app) | head
@@ -212,7 +203,7 @@
//! ``` console
//! $ cargo install cortex-m-rt-ld
//!
-//! $ xargo rustc --target thumbv7m-none-eabi -- \
+//! $ cargo rustc --target thumbv7m-none-eabi -- \
//! -C link-arg=-Tlink.x -C linker=cortex-m-rt-ld -Z linker-flavor=ld
//! ```
//!
@@ -278,7 +269,7 @@
//! ```
//!
//! ``` console
-//! $ xargo rustc --target thumbv7m-none-eabi -- \
+//! $ cargo rustc --target thumbv7m-none-eabi -- \
//! -C link-arg=-Tlink.x -C linker=cortex-m-rt-ld -Z linker-flavor=ld
//!
//! $ arm-none-eabi-size -Ax $(find target -name app) | head