aboutsummaryrefslogtreecommitdiff
path: root/examples/boot
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-05-31 23:52:27 +0200
committerDario Nieuwenhuis <[email protected]>2022-05-31 23:52:27 +0200
commitd13d893ff2e7190ac8f9c2187e487a7abe45b43a (patch)
treed850d9ce23508ad81f30ad65083286b402dfeced /examples/boot
parent962fabe5c9aa98ce073b362cf417e4ef3572861f (diff)
boot/stm32: autodetect thumbv6, remove cargo feature.
Diffstat (limited to 'examples/boot')
-rw-r--r--examples/boot/stm32l0/Cargo.toml2
-rw-r--r--examples/boot/stm32l0/README.md2
2 files changed, 2 insertions, 2 deletions
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"
7[dependencies] 7[dependencies]
8embassy = { version = "0.1.0", path = "../../../embassy", features = ["nightly"] } 8embassy = { version = "0.1.0", path = "../../../embassy", features = ["nightly"] }
9embassy-stm32 = { version = "0.1.0", path = "../../../embassy-stm32", features = ["unstable-traits", "nightly", "stm32l072cz", "time-driver-any", "exti", "memory-x"] } 9embassy-stm32 = { version = "0.1.0", path = "../../../embassy-stm32", features = ["unstable-traits", "nightly", "stm32l072cz", "time-driver-any", "exti", "memory-x"] }
10embassy-boot-stm32 = { version = "0.1.0", path = "../../../embassy-boot/stm32", features = ["thumbv6"] } 10embassy-boot-stm32 = { version = "0.1.0", path = "../../../embassy-boot/stm32" }
11embassy-embedded-hal = { version = "0.1.0", path = "../../../embassy-embedded-hal" } 11embassy-embedded-hal = { version = "0.1.0", path = "../../../embassy-embedded-hal" }
12 12
13defmt = { version = "0.3", optional = true } 13defmt = { 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.
15 15
16``` 16```
17# Flash bootloader 17# Flash bootloader
18cargo flash --manifest-path ../../../embassy-boot/stm32/Cargo.toml --release --features embassy-stm32/stm32l072cz,thumbv6 --chip STM32L072CZTx 18cargo flash --manifest-path ../../../embassy-boot/stm32/Cargo.toml --release --features embassy-stm32/stm32l072cz --chip STM32L072CZTx
19# Build 'b' 19# Build 'b'
20cargo build --release --bin b 20cargo build --release --bin b
21# Generate binary for 'b' 21# Generate binary for 'b'