aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f3_blinky
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32f3_blinky')
-rw-r--r--examples/stm32f3_blinky/README.md4
-rw-r--r--examples/stm32f3_blinky/src/main.rs1
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/stm32f3_blinky/README.md b/examples/stm32f3_blinky/README.md
index 5152661..1994dd3 100644
--- a/examples/stm32f3_blinky/README.md
+++ b/examples/stm32f3_blinky/README.md
@@ -6,12 +6,12 @@ Working example of simple LED blinking application for STM32 F303 Nucleo-64 boar
### Build
-Run `cargo +nightly build` to compile the code. If you run it for the first time, it will take some time to download and compile dependencies.
+Run `cargo build --release` to compile the code. If you run it for the first time, it will take some time to download and compile dependencies.
After that, you can use for example the cargo-embed tool to flash and run it
```bash
-$ cargo +nightly embed
+$ cargo embed
```
### Setup environment, flash and run program
diff --git a/examples/stm32f3_blinky/src/main.rs b/examples/stm32f3_blinky/src/main.rs
index b6da714..28dc7c2 100644
--- a/examples/stm32f3_blinky/src/main.rs
+++ b/examples/stm32f3_blinky/src/main.rs
@@ -2,7 +2,6 @@
#![deny(warnings)]
#![no_main]
#![no_std]
-#![feature(type_alias_impl_trait)]
use panic_rtt_target as _;
use rtic::app;