diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-05-31 23:52:27 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-05-31 23:52:27 +0200 |
| commit | d13d893ff2e7190ac8f9c2187e487a7abe45b43a (patch) | |
| tree | d850d9ce23508ad81f30ad65083286b402dfeced /examples/boot | |
| parent | 962fabe5c9aa98ce073b362cf417e4ef3572861f (diff) | |
boot/stm32: autodetect thumbv6, remove cargo feature.
Diffstat (limited to 'examples/boot')
| -rw-r--r-- | examples/boot/stm32l0/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/stm32l0/README.md | 2 |
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] |
| 8 | embassy = { version = "0.1.0", path = "../../../embassy", features = ["nightly"] } | 8 | embassy = { version = "0.1.0", path = "../../../embassy", features = ["nightly"] } |
| 9 | embassy-stm32 = { version = "0.1.0", path = "../../../embassy-stm32", features = ["unstable-traits", "nightly", "stm32l072cz", "time-driver-any", "exti", "memory-x"] } | 9 | embassy-stm32 = { version = "0.1.0", path = "../../../embassy-stm32", features = ["unstable-traits", "nightly", "stm32l072cz", "time-driver-any", "exti", "memory-x"] } |
| 10 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../embassy-boot/stm32", features = ["thumbv6"] } | 10 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../embassy-boot/stm32" } |
| 11 | embassy-embedded-hal = { version = "0.1.0", path = "../../../embassy-embedded-hal" } | 11 | embassy-embedded-hal = { version = "0.1.0", path = "../../../embassy-embedded-hal" } |
| 12 | 12 | ||
| 13 | defmt = { version = "0.3", optional = true } | 13 | 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. | |||
| 15 | 15 | ||
| 16 | ``` | 16 | ``` |
| 17 | # Flash bootloader | 17 | # Flash bootloader |
| 18 | cargo flash --manifest-path ../../../embassy-boot/stm32/Cargo.toml --release --features embassy-stm32/stm32l072cz,thumbv6 --chip STM32L072CZTx | 18 | cargo flash --manifest-path ../../../embassy-boot/stm32/Cargo.toml --release --features embassy-stm32/stm32l072cz --chip STM32L072CZTx |
| 19 | # Build 'b' | 19 | # Build 'b' |
| 20 | cargo build --release --bin b | 20 | cargo build --release --bin b |
| 21 | # Generate binary for 'b' | 21 | # Generate binary for 'b' |
