From 27985009579e82673dcaf7a6a715fcf50c184863 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Mon, 29 Jan 2024 20:56:15 +0100 Subject: Make RTIC 2 work on stable by using `main`'s stack as an allocator --- examples/stm32f3_blinky/README.md | 4 ++-- examples/stm32f3_blinky/src/main.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'examples/stm32f3_blinky') 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; -- cgit v1.2.3