set default runner to arm-none-eabi-gdb

with this `xargo run` will build the program *and* immediately start a GDB
session.
This commit is contained in:
Jorge Aparicio
2017-05-26 15:10:44 -05:00
parent 82e36ffe13
commit c6fafaedc2
3 changed files with 15 additions and 1 deletions

View File

@@ -121,6 +121,16 @@
//! $ arm-none-eabi-gdb target/..
//! ```
//!
//! **NOTE** As of nightly-2017-05-14 or so and cortex-m-quickstart v0.1.6 you
//! can simply run `cargo run` or `cargo run --example $ex` to build and flash
//! the program, and immediately start a debug session. IOW, it lets you omit
//! `arm-none-eabi-gdb` command.
//!
//! ```
//! $ cargo run --example hello
//! > # drop you into GDB session
//! ```
//!
//! # Examples
//!
//! Check the [examples module](./examples/index.html)