From d13d893ff2e7190ac8f9c2187e487a7abe45b43a Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 31 May 2022 23:52:27 +0200 Subject: boot/stm32: autodetect thumbv6, remove cargo feature. --- examples/boot/stm32l0/Cargo.toml | 2 +- examples/boot/stm32l0/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/boot') diff --git a/examples/boot/stm32l0/Cargo.toml b/examples/boot/stm32l0/Cargo.toml index 13ca84367..a9e031555 100644 --- a/examples/boot/stm32l0/Cargo.toml +++ b/examples/boot/stm32l0/Cargo.toml @@ -7,7 +7,7 @@ version = "0.1.0" [dependencies] embassy = { version = "0.1.0", path = "../../../embassy", features = ["nightly"] } embassy-stm32 = { version = "0.1.0", path = "../../../embassy-stm32", features = ["unstable-traits", "nightly", "stm32l072cz", "time-driver-any", "exti", "memory-x"] } -embassy-boot-stm32 = { version = "0.1.0", path = "../../../embassy-boot/stm32", features = ["thumbv6"] } +embassy-boot-stm32 = { version = "0.1.0", path = "../../../embassy-boot/stm32" } embassy-embedded-hal = { version = "0.1.0", path = "../../../embassy-embedded-hal" } defmt = { version = "0.3", optional = true } diff --git a/examples/boot/stm32l0/README.md b/examples/boot/stm32l0/README.md index b498fdc2d..a0e8021fc 100644 --- a/examples/boot/stm32l0/README.md +++ b/examples/boot/stm32l0/README.md @@ -15,7 +15,7 @@ application. ``` # Flash bootloader -cargo flash --manifest-path ../../../embassy-boot/stm32/Cargo.toml --release --features embassy-stm32/stm32l072cz,thumbv6 --chip STM32L072CZTx +cargo flash --manifest-path ../../../embassy-boot/stm32/Cargo.toml --release --features embassy-stm32/stm32l072cz --chip STM32L072CZTx # Build 'b' cargo build --release --bin b # Generate binary for 'b' -- cgit