File tree Expand file tree Collapse file tree 3 files changed +9
-39
lines changed Expand file tree Collapse file tree 3 files changed +9
-39
lines changed Original file line number Diff line number Diff line change 1- [target.thumbv6m-none-eabi]
2- runner = 'gdb-multiarch'
3- rustflags = [
4- "-C", "link-arg=-Tlink.x",
5- ]
6-
7- [target.thumbv7m-none-eabi]
8- runner = 'gdb-multiarch'
9- rustflags = [
10- "-C", "link-arg=-Tlink.x",
11- ]
12-
13- [target.thumbv7em-none-eabi]
14- runner = 'gdb-multiarch'
15- rustflags = [
16- "-C", "link-arg=-Tlink.x",
17- ]
18-
19- [target.thumbv7em-none-eabihf]
20- runner = 'gdb-multiarch'
1+ [target.'cfg(all(target_arch = "arm", target_os = "none"))']
2+ runner = "probe-run --chip STM32F103C8"
213rustflags = [
224 "-C", "link-arg=-Tlink.x",
235]
246
257[build]
26- target = "thumbv7m-none-eabi"
8+ target = "thumbv7m-none-eabi"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ I2C driver for the SH1106 OLED display written in 100% Rust
1010
1111## [ Documentation] ( https://docs.rs/sh1106 )
1212
13+ ## [ Examples]
14+
15+ This crate uses [ ` probe-run ` ] ( https://crates.io/crates/probe-run ) to run the examples. Once set up,
16+ it should be as simple as ` cargo run --example <example name> --release ` . ` --release ` will be
17+ required for some examples to reduce FLASH usage.
18+
1319From [ ` examples/text.rs ` ] ( examples/text.rs ) :
1420
1521``` rust
You can’t perform that action at this time.
0 commit comments