diff options
| -rwxr-xr-x | .github/ci/doc.sh | 8 | ||||
| -rwxr-xr-x | .github/ci/test.sh | 6 | ||||
| -rw-r--r-- | LICENSE-APACHE | 2 | ||||
| -rw-r--r-- | LICENSE-MIT | 2 | ||||
| -rw-r--r-- | README.md | 8 | ||||
| -rwxr-xr-x | ci.sh | 8 | ||||
| -rw-r--r-- | cyw43-pio/README.md | 14 | ||||
| -rw-r--r-- | cyw43/README.md | 15 | ||||
| -rw-r--r-- | embassy-boot-nrf/Cargo.toml (renamed from embassy-boot/nrf/Cargo.toml) | 10 | ||||
| -rw-r--r-- | embassy-boot-nrf/README.md | 11 | ||||
| -rw-r--r-- | embassy-boot-nrf/src/fmt.rs (renamed from embassy-boot/boot/src/fmt.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot-nrf/src/lib.rs (renamed from embassy-boot/nrf/src/lib.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot-rp/Cargo.toml (renamed from embassy-boot/rp/Cargo.toml) | 10 | ||||
| -rw-r--r-- | embassy-boot-rp/README.md | 12 | ||||
| -rw-r--r-- | embassy-boot-rp/build.rs (renamed from embassy-boot/rp/build.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot-rp/src/fmt.rs (renamed from embassy-boot/nrf/src/fmt.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot-rp/src/lib.rs (renamed from embassy-boot/rp/src/lib.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot-stm32/Cargo.toml (renamed from embassy-boot/stm32/Cargo.toml) | 10 | ||||
| -rw-r--r-- | embassy-boot-stm32/README.md | 10 | ||||
| -rw-r--r-- | embassy-boot-stm32/build.rs (renamed from embassy-boot/stm32/build.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot-stm32/src/fmt.rs (renamed from embassy-boot/rp/src/fmt.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot-stm32/src/lib.rs (renamed from embassy-boot/stm32/src/lib.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/Cargo.toml (renamed from embassy-boot/boot/Cargo.toml) | 8 | ||||
| -rw-r--r-- | embassy-boot/README.md (renamed from embassy-boot/boot/README.md) | 15 | ||||
| -rw-r--r-- | embassy-boot/nrf/README.md | 26 | ||||
| -rw-r--r-- | embassy-boot/rp/README.md | 26 | ||||
| -rw-r--r-- | embassy-boot/src/boot_loader.rs (renamed from embassy-boot/boot/src/boot_loader.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/digest_adapters/ed25519_dalek.rs (renamed from embassy-boot/boot/src/digest_adapters/ed25519_dalek.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/digest_adapters/mod.rs (renamed from embassy-boot/boot/src/digest_adapters/mod.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/digest_adapters/salty.rs (renamed from embassy-boot/boot/src/digest_adapters/salty.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/firmware_updater/asynch.rs (renamed from embassy-boot/boot/src/firmware_updater/asynch.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/firmware_updater/blocking.rs (renamed from embassy-boot/boot/src/firmware_updater/blocking.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/firmware_updater/mod.rs (renamed from embassy-boot/boot/src/firmware_updater/mod.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/fmt.rs (renamed from embassy-boot/stm32/src/fmt.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/lib.rs (renamed from embassy-boot/boot/src/lib.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/mem_flash.rs (renamed from embassy-boot/boot/src/mem_flash.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/test_flash/asynch.rs (renamed from embassy-boot/boot/src/test_flash/asynch.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/test_flash/blocking.rs (renamed from embassy-boot/boot/src/test_flash/blocking.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/src/test_flash/mod.rs (renamed from embassy-boot/boot/src/test_flash/mod.rs) | 0 | ||||
| -rw-r--r-- | embassy-boot/stm32/README.md | 24 | ||||
| -rw-r--r-- | embassy-executor-macros/README.md | 10 | ||||
| -rw-r--r-- | embassy-futures/README.md | 15 | ||||
| -rw-r--r-- | embassy-hal-internal/README.md | 10 | ||||
| -rw-r--r-- | embassy-net-adin1110/README.md | 10 | ||||
| -rw-r--r-- | embassy-net-driver-channel/README.md | 10 | ||||
| -rw-r--r-- | embassy-net-driver/README.md | 10 | ||||
| -rw-r--r-- | embassy-net-enc28j60/README.md | 10 | ||||
| -rw-r--r-- | embassy-net-esp-hosted/README.md | 18 | ||||
| -rw-r--r-- | embassy-net-ppp/README.md | 10 | ||||
| -rw-r--r-- | embassy-net-tuntap/README.md | 10 | ||||
| -rw-r--r-- | embassy-net-wiznet/README.md | 11 | ||||
| -rw-r--r-- | embassy-net/README.md | 10 | ||||
| -rw-r--r-- | embassy-nrf/README.md | 15 | ||||
| -rw-r--r-- | embassy-rp/README.md | 14 | ||||
| -rw-r--r-- | embassy-sync/README.md | 14 | ||||
| -rw-r--r-- | embassy-usb-dfu/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-usb-dfu/README.md | 14 | ||||
| -rw-r--r-- | embassy-usb-driver/README.md | 15 | ||||
| -rw-r--r-- | embassy-usb-logger/README.md | 14 | ||||
| -rw-r--r-- | embassy-usb/README.md | 40 | ||||
| -rw-r--r-- | examples/boot/application/nrf/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/boot/application/rp/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/application/stm32f3/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/application/stm32f7/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/application/stm32h7/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/application/stm32l0/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/application/stm32l1/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/application/stm32l4/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/application/stm32wb-dfu/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/application/stm32wl/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/bootloader/nrf/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/bootloader/rp/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/bootloader/stm32/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/boot/bootloader/stm32wb-dfu/Cargo.toml | 2 |
74 files changed, 112 insertions, 405 deletions
diff --git a/.github/ci/doc.sh b/.github/ci/doc.sh index 0bbe7f690..aaccb8a67 100755 --- a/.github/ci/doc.sh +++ b/.github/ci/doc.sh | |||
| @@ -16,10 +16,10 @@ mv rust-toolchain-nightly.toml rust-toolchain.toml | |||
| 16 | # which makes rustup very sad | 16 | # which makes rustup very sad |
| 17 | rustc --version > /dev/null | 17 | rustc --version > /dev/null |
| 18 | 18 | ||
| 19 | docserver-builder -i ./embassy-boot/boot -o webroot/crates/embassy-boot/git.zup | 19 | docserver-builder -i ./embassy-boot -o webroot/crates/embassy-boot/git.zup |
| 20 | docserver-builder -i ./embassy-boot/nrf -o webroot/crates/embassy-boot-nrf/git.zup | 20 | docserver-builder -i ./embassy-boot-nrf -o webroot/crates/embassy-boot-nrf/git.zup |
| 21 | docserver-builder -i ./embassy-boot/rp -o webroot/crates/embassy-boot-rp/git.zup | 21 | docserver-builder -i ./embassy-boot-rp -o webroot/crates/embassy-boot-rp/git.zup |
| 22 | docserver-builder -i ./embassy-boot/stm32 -o webroot/crates/embassy-boot-stm32/git.zup | 22 | docserver-builder -i ./embassy-boot-stm32 -o webroot/crates/embassy-boot-stm32/git.zup |
| 23 | docserver-builder -i ./embassy-embedded-hal -o webroot/crates/embassy-embedded-hal/git.zup | 23 | docserver-builder -i ./embassy-embedded-hal -o webroot/crates/embassy-embedded-hal/git.zup |
| 24 | docserver-builder -i ./embassy-executor -o webroot/crates/embassy-executor/git.zup | 24 | docserver-builder -i ./embassy-executor -o webroot/crates/embassy-executor/git.zup |
| 25 | docserver-builder -i ./embassy-futures -o webroot/crates/embassy-futures/git.zup | 25 | docserver-builder -i ./embassy-futures -o webroot/crates/embassy-futures/git.zup |
diff --git a/.github/ci/test.sh b/.github/ci/test.sh index b6a5bcd56..8a58939f6 100755 --- a/.github/ci/test.sh +++ b/.github/ci/test.sh | |||
| @@ -14,9 +14,9 @@ cargo test --manifest-path ./embassy-hal-internal/Cargo.toml | |||
| 14 | cargo test --manifest-path ./embassy-time/Cargo.toml --features generic-queue,mock-driver | 14 | cargo test --manifest-path ./embassy-time/Cargo.toml --features generic-queue,mock-driver |
| 15 | cargo test --manifest-path ./embassy-time-driver/Cargo.toml | 15 | cargo test --manifest-path ./embassy-time-driver/Cargo.toml |
| 16 | 16 | ||
| 17 | cargo test --manifest-path ./embassy-boot/boot/Cargo.toml | 17 | cargo test --manifest-path ./embassy-boot/Cargo.toml |
| 18 | cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features ed25519-dalek | 18 | cargo test --manifest-path ./embassy-boot/Cargo.toml --features ed25519-dalek |
| 19 | cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features ed25519-salty | 19 | cargo test --manifest-path ./embassy-boot/Cargo.toml --features ed25519-salty |
| 20 | 20 | ||
| 21 | cargo test --manifest-path ./embassy-nrf/Cargo.toml --no-default-features --features nrf52840,time-driver-rtc1,gpiote | 21 | cargo test --manifest-path ./embassy-nrf/Cargo.toml --no-default-features --features nrf52840,time-driver-rtc1,gpiote |
| 22 | 22 | ||
diff --git a/LICENSE-APACHE b/LICENSE-APACHE index ea4fa15c9..8f7956e20 100644 --- a/LICENSE-APACHE +++ b/LICENSE-APACHE | |||
| @@ -186,7 +186,7 @@ APPENDIX: How to apply the Apache License to your work. | |||
| 186 | same "printed page" as the copyright notice for easier | 186 | same "printed page" as the copyright notice for easier |
| 187 | identification within third-party archives. | 187 | identification within third-party archives. |
| 188 | 188 | ||
| 189 | Copyright 2019-2022 Embassy project contributors | 189 | Copyright (c) Embassy project contributors |
| 190 | 190 | ||
| 191 | Licensed under the Apache License, Version 2.0 (the "License"); | 191 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 192 | you may not use this file except in compliance with the License. | 192 | you may not use this file except in compliance with the License. |
diff --git a/LICENSE-MIT b/LICENSE-MIT index 87c052836..1fe5730a4 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | Copyright (c) 2019-2022 Embassy project contributors | 1 | Copyright (c) Embassy project contributors |
| 2 | 2 | ||
| 3 | Permission is hereby granted, free of charge, to any | 3 | Permission is hereby granted, free of charge, to any |
| 4 | person obtaining a copy of this software and associated | 4 | person obtaining a copy of this software and associated |
| @@ -145,7 +145,7 @@ EMBedded ASYnc! :) | |||
| 145 | 145 | ||
| 146 | ## License | 146 | ## License |
| 147 | 147 | ||
| 148 | This work is licensed under either of | 148 | Embassy is licensed under either of |
| 149 | 149 | ||
| 150 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | 150 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or |
| 151 | <http://www.apache.org/licenses/LICENSE-2.0>) | 151 | <http://www.apache.org/licenses/LICENSE-2.0>) |
| @@ -153,5 +153,11 @@ This work is licensed under either of | |||
| 153 | 153 | ||
| 154 | at your option. | 154 | at your option. |
| 155 | 155 | ||
| 156 | ## Contribution | ||
| 157 | |||
| 158 | Unless you explicitly state otherwise, any contribution intentionally submitted | ||
| 159 | for inclusion in the work by you, as defined in the Apache-2.0 license, shall be | ||
| 160 | dual licensed as above, without any additional terms or conditions. | ||
| 161 | |||
| 156 | [1]: https://github.com/embassy-rs/embassy/wiki/Getting-Started | 162 | [1]: https://github.com/embassy-rs/embassy/wiki/Getting-Started |
| 157 | [2]: https://github.com/embassy-rs/embassy/wiki/Running-the-Examples | 163 | [2]: https://github.com/embassy-rs/embassy/wiki/Running-the-Examples |
| @@ -136,10 +136,10 @@ cargo batch \ | |||
| 136 | --- build --release --manifest-path cyw43/Cargo.toml --target thumbv6m-none-eabi --features 'defmt,firmware-logs' \ | 136 | --- build --release --manifest-path cyw43/Cargo.toml --target thumbv6m-none-eabi --features 'defmt,firmware-logs' \ |
| 137 | --- build --release --manifest-path cyw43-pio/Cargo.toml --target thumbv6m-none-eabi --features '' \ | 137 | --- build --release --manifest-path cyw43-pio/Cargo.toml --target thumbv6m-none-eabi --features '' \ |
| 138 | --- build --release --manifest-path cyw43-pio/Cargo.toml --target thumbv6m-none-eabi --features 'overclock' \ | 138 | --- build --release --manifest-path cyw43-pio/Cargo.toml --target thumbv6m-none-eabi --features 'overclock' \ |
| 139 | --- build --release --manifest-path embassy-boot/nrf/Cargo.toml --target thumbv7em-none-eabi --features embassy-nrf/nrf52840 \ | 139 | --- build --release --manifest-path embassy-boot-nrf/Cargo.toml --target thumbv7em-none-eabi --features embassy-nrf/nrf52840 \ |
| 140 | --- build --release --manifest-path embassy-boot/nrf/Cargo.toml --target thumbv8m.main-none-eabihf --features embassy-nrf/nrf9160-ns \ | 140 | --- build --release --manifest-path embassy-boot-nrf/Cargo.toml --target thumbv8m.main-none-eabihf --features embassy-nrf/nrf9160-ns \ |
| 141 | --- build --release --manifest-path embassy-boot/rp/Cargo.toml --target thumbv6m-none-eabi \ | 141 | --- build --release --manifest-path embassy-boot-rp/Cargo.toml --target thumbv6m-none-eabi \ |
| 142 | --- build --release --manifest-path embassy-boot/stm32/Cargo.toml --target thumbv7em-none-eabi --features embassy-stm32/stm32wl55jc-cm4 \ | 142 | --- build --release --manifest-path embassy-boot-stm32/Cargo.toml --target thumbv7em-none-eabi --features embassy-stm32/stm32wl55jc-cm4 \ |
| 143 | --- build --release --manifest-path docs/modules/ROOT/examples/basic/Cargo.toml --target thumbv7em-none-eabi \ | 143 | --- build --release --manifest-path docs/modules/ROOT/examples/basic/Cargo.toml --target thumbv7em-none-eabi \ |
| 144 | --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-pac/Cargo.toml --target thumbv7em-none-eabi \ | 144 | --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-pac/Cargo.toml --target thumbv7em-none-eabi \ |
| 145 | --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-hal/Cargo.toml --target thumbv7em-none-eabi \ | 145 | --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-hal/Cargo.toml --target thumbv7em-none-eabi \ |
diff --git a/cyw43-pio/README.md b/cyw43-pio/README.md index 2b22db360..4a2b2aa4b 100644 --- a/cyw43-pio/README.md +++ b/cyw43-pio/README.md | |||
| @@ -1,17 +1,3 @@ | |||
| 1 | # cyw43-pio | 1 | # cyw43-pio |
| 2 | 2 | ||
| 3 | RP2040 PIO driver for the nonstandard half-duplex SPI used in the Pico W. The PIO driver offloads SPI communication with the WiFi chip and improves throughput. | 3 | RP2040 PIO driver for the nonstandard half-duplex SPI used in the Pico W. The PIO driver offloads SPI communication with the WiFi chip and improves throughput. |
| 4 | |||
| 5 | ## Minimum supported Rust version (MSRV) | ||
| 6 | |||
| 7 | Embassy is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 8 | |||
| 9 | ## License | ||
| 10 | |||
| 11 | This work is licensed under either of | ||
| 12 | |||
| 13 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 14 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 15 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 16 | |||
| 17 | at your option. | ||
diff --git a/cyw43/README.md b/cyw43/README.md index 2c24c7d36..dabdf0471 100644 --- a/cyw43/README.md +++ b/cyw43/README.md | |||
| @@ -44,18 +44,3 @@ This example implements a TCP echo server on port 1234. You can try connecting t | |||
| 44 | nc 192.168.0.250 1234 | 44 | nc 192.168.0.250 1234 |
| 45 | ``` | 45 | ``` |
| 46 | Send it some data, you should see it echoed back and printed in the firmware's logs. | 46 | Send it some data, you should see it echoed back and printed in the firmware's logs. |
| 47 | |||
| 48 | ## Minimum supported Rust version (MSRV) | ||
| 49 | |||
| 50 | Embassy is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 51 | |||
| 52 | ## License | ||
| 53 | |||
| 54 | This work is licensed under either of | ||
| 55 | |||
| 56 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 57 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 58 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 59 | |||
| 60 | at your option. | ||
| 61 | |||
diff --git a/embassy-boot/nrf/Cargo.toml b/embassy-boot-nrf/Cargo.toml index 9f74fb126..7fc53648a 100644 --- a/embassy-boot/nrf/Cargo.toml +++ b/embassy-boot-nrf/Cargo.toml | |||
| @@ -12,8 +12,8 @@ categories = [ | |||
| 12 | ] | 12 | ] |
| 13 | 13 | ||
| 14 | [package.metadata.embassy_docs] | 14 | [package.metadata.embassy_docs] |
| 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-nrf-v$VERSION/embassy-boot/nrf/src/" | 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-nrf-v$VERSION/embassy-boot-nrf/src/" |
| 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/nrf/src/" | 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-nrf/src/" |
| 17 | features = ["embassy-nrf/nrf52840"] | 17 | features = ["embassy-nrf/nrf52840"] |
| 18 | target = "thumbv7em-none-eabi" | 18 | target = "thumbv7em-none-eabi" |
| 19 | 19 | ||
| @@ -22,9 +22,9 @@ target = "thumbv7em-none-eabi" | |||
| 22 | [dependencies] | 22 | [dependencies] |
| 23 | defmt = { version = "0.3", optional = true } | 23 | defmt = { version = "0.3", optional = true } |
| 24 | 24 | ||
| 25 | embassy-sync = { version = "0.5.0", path = "../../embassy-sync" } | 25 | embassy-sync = { version = "0.5.0", path = "../embassy-sync" } |
| 26 | embassy-nrf = { path = "../../embassy-nrf" } | 26 | embassy-nrf = { version = "0.1.0", path = "../embassy-nrf", default-features = false } |
| 27 | embassy-boot = { path = "../boot", default-features = false } | 27 | embassy-boot = { version = "0.1.0", path = "../embassy-boot" } |
| 28 | cortex-m = { version = "0.7.6" } | 28 | cortex-m = { version = "0.7.6" } |
| 29 | cortex-m-rt = { version = "0.7" } | 29 | cortex-m-rt = { version = "0.7" } |
| 30 | embedded-storage = "0.3.1" | 30 | embedded-storage = "0.3.1" |
diff --git a/embassy-boot-nrf/README.md b/embassy-boot-nrf/README.md new file mode 100644 index 000000000..9dc5b0eb9 --- /dev/null +++ b/embassy-boot-nrf/README.md | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # embassy-boot-nrf | ||
| 2 | |||
| 3 | An [Embassy](https://embassy.dev) project. | ||
| 4 | |||
| 5 | An adaptation of `embassy-boot` for nRF. | ||
| 6 | |||
| 7 | ## Features | ||
| 8 | |||
| 9 | * Load applications with or without the softdevice. | ||
| 10 | * Configure bootloader partitions based on linker script. | ||
| 11 | * Using watchdog timer to detect application failure. | ||
diff --git a/embassy-boot/boot/src/fmt.rs b/embassy-boot-nrf/src/fmt.rs index 78e583c1c..78e583c1c 100644 --- a/embassy-boot/boot/src/fmt.rs +++ b/embassy-boot-nrf/src/fmt.rs | |||
diff --git a/embassy-boot/nrf/src/lib.rs b/embassy-boot-nrf/src/lib.rs index 5b20a93c6..5b20a93c6 100644 --- a/embassy-boot/nrf/src/lib.rs +++ b/embassy-boot-nrf/src/lib.rs | |||
diff --git a/embassy-boot/rp/Cargo.toml b/embassy-boot-rp/Cargo.toml index 90bab0996..dacb27747 100644 --- a/embassy-boot/rp/Cargo.toml +++ b/embassy-boot-rp/Cargo.toml | |||
| @@ -13,7 +13,7 @@ categories = [ | |||
| 13 | 13 | ||
| 14 | [package.metadata.embassy_docs] | 14 | [package.metadata.embassy_docs] |
| 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-rp-v$VERSION/src/" | 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-rp-v$VERSION/src/" |
| 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/rp/src/" | 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-rp/src/" |
| 17 | target = "thumbv6m-none-eabi" | 17 | target = "thumbv6m-none-eabi" |
| 18 | 18 | ||
| 19 | [lib] | 19 | [lib] |
| @@ -23,10 +23,10 @@ defmt = { version = "0.3", optional = true } | |||
| 23 | defmt-rtt = { version = "0.4", optional = true } | 23 | defmt-rtt = { version = "0.4", optional = true } |
| 24 | log = { version = "0.4", optional = true } | 24 | log = { version = "0.4", optional = true } |
| 25 | 25 | ||
| 26 | embassy-sync = { version = "0.5.0", path = "../../embassy-sync" } | 26 | embassy-sync = { version = "0.5.0", path = "../embassy-sync" } |
| 27 | embassy-rp = { path = "../../embassy-rp", default-features = false } | 27 | embassy-rp = { version = "0.1.0", path = "../embassy-rp", default-features = false } |
| 28 | embassy-boot = { path = "../boot", default-features = false } | 28 | embassy-boot = { version = "0.1.0", path = "../embassy-boot" } |
| 29 | embassy-time = { path = "../../embassy-time" } | 29 | embassy-time = { version = "0.2.0", path = "../embassy-time" } |
| 30 | 30 | ||
| 31 | cortex-m = { version = "0.7.6" } | 31 | cortex-m = { version = "0.7.6" } |
| 32 | cortex-m-rt = { version = "0.7" } | 32 | cortex-m-rt = { version = "0.7" } |
diff --git a/embassy-boot-rp/README.md b/embassy-boot-rp/README.md new file mode 100644 index 000000000..b664145a9 --- /dev/null +++ b/embassy-boot-rp/README.md | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | # embassy-boot-rp | ||
| 2 | |||
| 3 | An [Embassy](https://embassy.dev) project. | ||
| 4 | |||
| 5 | An adaptation of `embassy-boot` for RP2040. | ||
| 6 | |||
| 7 | NOTE: The applications using this bootloader should not link with the `link-rp.x` linker script. | ||
| 8 | |||
| 9 | ## Features | ||
| 10 | |||
| 11 | * Configure bootloader partitions based on linker script. | ||
| 12 | * Load applications from active partition. | ||
diff --git a/embassy-boot/rp/build.rs b/embassy-boot-rp/build.rs index 2cbc7ef5e..2cbc7ef5e 100644 --- a/embassy-boot/rp/build.rs +++ b/embassy-boot-rp/build.rs | |||
diff --git a/embassy-boot/nrf/src/fmt.rs b/embassy-boot-rp/src/fmt.rs index 78e583c1c..78e583c1c 100644 --- a/embassy-boot/nrf/src/fmt.rs +++ b/embassy-boot-rp/src/fmt.rs | |||
diff --git a/embassy-boot/rp/src/lib.rs b/embassy-boot-rp/src/lib.rs index 07a5b3f4d..07a5b3f4d 100644 --- a/embassy-boot/rp/src/lib.rs +++ b/embassy-boot-rp/src/lib.rs | |||
diff --git a/embassy-boot/stm32/Cargo.toml b/embassy-boot-stm32/Cargo.toml index 70919b76d..f4e31bae8 100644 --- a/embassy-boot/stm32/Cargo.toml +++ b/embassy-boot-stm32/Cargo.toml | |||
| @@ -12,8 +12,8 @@ categories = [ | |||
| 12 | ] | 12 | ] |
| 13 | 13 | ||
| 14 | [package.metadata.embassy_docs] | 14 | [package.metadata.embassy_docs] |
| 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-nrf-v$VERSION/embassy-boot/stm32/src/" | 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-nrf-v$VERSION/embassy-boot-stm32/src/" |
| 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/stm32/src/" | 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-stm32/src/" |
| 17 | features = ["embassy-stm32/stm32f429zi"] | 17 | features = ["embassy-stm32/stm32f429zi"] |
| 18 | target = "thumbv7em-none-eabi" | 18 | target = "thumbv7em-none-eabi" |
| 19 | 19 | ||
| @@ -24,9 +24,9 @@ defmt = { version = "0.3", optional = true } | |||
| 24 | defmt-rtt = { version = "0.4", optional = true } | 24 | defmt-rtt = { version = "0.4", optional = true } |
| 25 | log = { version = "0.4", optional = true } | 25 | log = { version = "0.4", optional = true } |
| 26 | 26 | ||
| 27 | embassy-sync = { version = "0.5.0", path = "../../embassy-sync" } | 27 | embassy-sync = { version = "0.5.0", path = "../embassy-sync" } |
| 28 | embassy-stm32 = { path = "../../embassy-stm32", default-features = false } | 28 | embassy-stm32 = { version = "0.1.0", path = "../embassy-stm32", default-features = false } |
| 29 | embassy-boot = { path = "../boot", default-features = false } | 29 | embassy-boot = { version = "0.1.0", path = "../embassy-boot" } |
| 30 | cortex-m = { version = "0.7.6" } | 30 | cortex-m = { version = "0.7.6" } |
| 31 | cortex-m-rt = { version = "0.7" } | 31 | cortex-m-rt = { version = "0.7" } |
| 32 | embedded-storage = "0.3.1" | 32 | embedded-storage = "0.3.1" |
diff --git a/embassy-boot-stm32/README.md b/embassy-boot-stm32/README.md new file mode 100644 index 000000000..f6dadc8e7 --- /dev/null +++ b/embassy-boot-stm32/README.md | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # embassy-boot-stm32 | ||
| 2 | |||
| 3 | An [Embassy](https://embassy.dev) project. | ||
| 4 | |||
| 5 | An adaptation of `embassy-boot` for STM32. | ||
| 6 | |||
| 7 | ## Features | ||
| 8 | |||
| 9 | * Configure bootloader partitions based on linker script. | ||
| 10 | * Load applications from active partition. | ||
diff --git a/embassy-boot/stm32/build.rs b/embassy-boot-stm32/build.rs index 2cbc7ef5e..2cbc7ef5e 100644 --- a/embassy-boot/stm32/build.rs +++ b/embassy-boot-stm32/build.rs | |||
diff --git a/embassy-boot/rp/src/fmt.rs b/embassy-boot-stm32/src/fmt.rs index 78e583c1c..78e583c1c 100644 --- a/embassy-boot/rp/src/fmt.rs +++ b/embassy-boot-stm32/src/fmt.rs | |||
diff --git a/embassy-boot/stm32/src/lib.rs b/embassy-boot-stm32/src/lib.rs index 4b4091ac9..4b4091ac9 100644 --- a/embassy-boot/stm32/src/lib.rs +++ b/embassy-boot-stm32/src/lib.rs | |||
diff --git a/embassy-boot/boot/Cargo.toml b/embassy-boot/Cargo.toml index 3c84ffcd3..a70849018 100644 --- a/embassy-boot/boot/Cargo.toml +++ b/embassy-boot/Cargo.toml | |||
| @@ -12,8 +12,8 @@ categories = [ | |||
| 12 | ] | 12 | ] |
| 13 | 13 | ||
| 14 | [package.metadata.embassy_docs] | 14 | [package.metadata.embassy_docs] |
| 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-v$VERSION/embassy-boot/boot/src/" | 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-v$VERSION/embassy-boot/src/" |
| 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/boot/src/" | 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/src/" |
| 17 | target = "thumbv7em-none-eabi" | 17 | target = "thumbv7em-none-eabi" |
| 18 | features = ["defmt"] | 18 | features = ["defmt"] |
| 19 | 19 | ||
| @@ -27,8 +27,8 @@ defmt = { version = "0.3", optional = true } | |||
| 27 | digest = "0.10" | 27 | digest = "0.10" |
| 28 | log = { version = "0.4", optional = true } | 28 | log = { version = "0.4", optional = true } |
| 29 | ed25519-dalek = { version = "2", default_features = false, features = ["digest"], optional = true } | 29 | ed25519-dalek = { version = "2", default_features = false, features = ["digest"], optional = true } |
| 30 | embassy-embedded-hal = { version = "0.1.0", path = "../../embassy-embedded-hal" } | 30 | embassy-embedded-hal = { version = "0.1.0", path = "../embassy-embedded-hal" } |
| 31 | embassy-sync = { version = "0.5.0", path = "../../embassy-sync" } | 31 | embassy-sync = { version = "0.5.0", path = "../embassy-sync" } |
| 32 | embedded-storage = "0.3.1" | 32 | embedded-storage = "0.3.1" |
| 33 | embedded-storage-async = { version = "0.4.1" } | 33 | embedded-storage-async = { version = "0.4.1" } |
| 34 | salty = { version = "0.3", optional = true } | 34 | salty = { version = "0.3", optional = true } |
diff --git a/embassy-boot/boot/README.md b/embassy-boot/README.md index 3fc81f24b..3c2d45e96 100644 --- a/embassy-boot/boot/README.md +++ b/embassy-boot/README.md | |||
| @@ -33,18 +33,3 @@ The bootloader supports different hardware in separate crates: | |||
| 33 | * `embassy-boot-nrf` - for the nRF microcontrollers. | 33 | * `embassy-boot-nrf` - for the nRF microcontrollers. |
| 34 | * `embassy-boot-rp` - for the RP2040 microcontrollers. | 34 | * `embassy-boot-rp` - for the RP2040 microcontrollers. |
| 35 | * `embassy-boot-stm32` - for the STM32 microcontrollers. | 35 | * `embassy-boot-stm32` - for the STM32 microcontrollers. |
| 36 | |||
| 37 | |||
| 38 | ## Minimum supported Rust version (MSRV) | ||
| 39 | |||
| 40 | `embassy-boot` is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 41 | |||
| 42 | ## License | ||
| 43 | |||
| 44 | This work is licensed under either of | ||
| 45 | |||
| 46 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 47 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 48 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 49 | |||
| 50 | at your option. | ||
diff --git a/embassy-boot/nrf/README.md b/embassy-boot/nrf/README.md deleted file mode 100644 index fe581823d..000000000 --- a/embassy-boot/nrf/README.md +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | # embassy-boot-nrf | ||
| 2 | |||
| 3 | An [Embassy](https://embassy.dev) project. | ||
| 4 | |||
| 5 | An adaptation of `embassy-boot` for nRF. | ||
| 6 | |||
| 7 | ## Features | ||
| 8 | |||
| 9 | * Load applications with or without the softdevice. | ||
| 10 | * Configure bootloader partitions based on linker script. | ||
| 11 | * Using watchdog timer to detect application failure. | ||
| 12 | |||
| 13 | |||
| 14 | ## Minimum supported Rust version (MSRV) | ||
| 15 | |||
| 16 | `embassy-boot-nrf` is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 17 | |||
| 18 | ## License | ||
| 19 | |||
| 20 | This work is licensed under either of | ||
| 21 | |||
| 22 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 23 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 24 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 25 | |||
| 26 | at your option. | ||
diff --git a/embassy-boot/rp/README.md b/embassy-boot/rp/README.md deleted file mode 100644 index 315d655e3..000000000 --- a/embassy-boot/rp/README.md +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | # embassy-boot-rp | ||
| 2 | |||
| 3 | An [Embassy](https://embassy.dev) project. | ||
| 4 | |||
| 5 | An adaptation of `embassy-boot` for RP2040. | ||
| 6 | |||
| 7 | NOTE: The applications using this bootloader should not link with the `link-rp.x` linker script. | ||
| 8 | |||
| 9 | ## Features | ||
| 10 | |||
| 11 | * Configure bootloader partitions based on linker script. | ||
| 12 | * Load applications from active partition. | ||
| 13 | |||
| 14 | ## Minimum supported Rust version (MSRV) | ||
| 15 | |||
| 16 | `embassy-boot-rp` is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 17 | |||
| 18 | ## License | ||
| 19 | |||
| 20 | This work is licensed under either of | ||
| 21 | |||
| 22 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 23 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 24 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 25 | |||
| 26 | at your option. | ||
diff --git a/embassy-boot/boot/src/boot_loader.rs b/embassy-boot/src/boot_loader.rs index e568001bc..e568001bc 100644 --- a/embassy-boot/boot/src/boot_loader.rs +++ b/embassy-boot/src/boot_loader.rs | |||
diff --git a/embassy-boot/boot/src/digest_adapters/ed25519_dalek.rs b/embassy-boot/src/digest_adapters/ed25519_dalek.rs index 2e4e03da3..2e4e03da3 100644 --- a/embassy-boot/boot/src/digest_adapters/ed25519_dalek.rs +++ b/embassy-boot/src/digest_adapters/ed25519_dalek.rs | |||
diff --git a/embassy-boot/boot/src/digest_adapters/mod.rs b/embassy-boot/src/digest_adapters/mod.rs index 9b4b4b60c..9b4b4b60c 100644 --- a/embassy-boot/boot/src/digest_adapters/mod.rs +++ b/embassy-boot/src/digest_adapters/mod.rs | |||
diff --git a/embassy-boot/boot/src/digest_adapters/salty.rs b/embassy-boot/src/digest_adapters/salty.rs index 2b5dcf3af..2b5dcf3af 100644 --- a/embassy-boot/boot/src/digest_adapters/salty.rs +++ b/embassy-boot/src/digest_adapters/salty.rs | |||
diff --git a/embassy-boot/boot/src/firmware_updater/asynch.rs b/embassy-boot/src/firmware_updater/asynch.rs index 2e43e1cc1..2e43e1cc1 100644 --- a/embassy-boot/boot/src/firmware_updater/asynch.rs +++ b/embassy-boot/src/firmware_updater/asynch.rs | |||
diff --git a/embassy-boot/boot/src/firmware_updater/blocking.rs b/embassy-boot/src/firmware_updater/blocking.rs index f1368540d..f1368540d 100644 --- a/embassy-boot/boot/src/firmware_updater/blocking.rs +++ b/embassy-boot/src/firmware_updater/blocking.rs | |||
diff --git a/embassy-boot/boot/src/firmware_updater/mod.rs b/embassy-boot/src/firmware_updater/mod.rs index 4814786bf..4814786bf 100644 --- a/embassy-boot/boot/src/firmware_updater/mod.rs +++ b/embassy-boot/src/firmware_updater/mod.rs | |||
diff --git a/embassy-boot/stm32/src/fmt.rs b/embassy-boot/src/fmt.rs index 78e583c1c..78e583c1c 100644 --- a/embassy-boot/stm32/src/fmt.rs +++ b/embassy-boot/src/fmt.rs | |||
diff --git a/embassy-boot/boot/src/lib.rs b/embassy-boot/src/lib.rs index b4f03e01e..b4f03e01e 100644 --- a/embassy-boot/boot/src/lib.rs +++ b/embassy-boot/src/lib.rs | |||
diff --git a/embassy-boot/boot/src/mem_flash.rs b/embassy-boot/src/mem_flash.rs index 40f352c8d..40f352c8d 100644 --- a/embassy-boot/boot/src/mem_flash.rs +++ b/embassy-boot/src/mem_flash.rs | |||
diff --git a/embassy-boot/boot/src/test_flash/asynch.rs b/embassy-boot/src/test_flash/asynch.rs index 3ac9e71ab..3ac9e71ab 100644 --- a/embassy-boot/boot/src/test_flash/asynch.rs +++ b/embassy-boot/src/test_flash/asynch.rs | |||
diff --git a/embassy-boot/boot/src/test_flash/blocking.rs b/embassy-boot/src/test_flash/blocking.rs index 5ec476c65..5ec476c65 100644 --- a/embassy-boot/boot/src/test_flash/blocking.rs +++ b/embassy-boot/src/test_flash/blocking.rs | |||
diff --git a/embassy-boot/boot/src/test_flash/mod.rs b/embassy-boot/src/test_flash/mod.rs index 79b15a081..79b15a081 100644 --- a/embassy-boot/boot/src/test_flash/mod.rs +++ b/embassy-boot/src/test_flash/mod.rs | |||
diff --git a/embassy-boot/stm32/README.md b/embassy-boot/stm32/README.md deleted file mode 100644 index b4d7ba5a4..000000000 --- a/embassy-boot/stm32/README.md +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | # embassy-boot-stm32 | ||
| 2 | |||
| 3 | An [Embassy](https://embassy.dev) project. | ||
| 4 | |||
| 5 | An adaptation of `embassy-boot` for STM32. | ||
| 6 | |||
| 7 | ## Features | ||
| 8 | |||
| 9 | * Configure bootloader partitions based on linker script. | ||
| 10 | * Load applications from active partition. | ||
| 11 | |||
| 12 | ## Minimum supported Rust version (MSRV) | ||
| 13 | |||
| 14 | `embassy-boot-stm32` is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 15 | |||
| 16 | ## License | ||
| 17 | |||
| 18 | This work is licensed under either of | ||
| 19 | |||
| 20 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 21 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 22 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 23 | |||
| 24 | at your option. | ||
diff --git a/embassy-executor-macros/README.md b/embassy-executor-macros/README.md index a959c85d5..3a8d49aa1 100644 --- a/embassy-executor-macros/README.md +++ b/embassy-executor-macros/README.md | |||
| @@ -3,13 +3,3 @@ | |||
| 3 | An [Embassy](https://embassy.dev) project. | 3 | An [Embassy](https://embassy.dev) project. |
| 4 | 4 | ||
| 5 | NOTE: Do not use this crate directly. The macros are re-exported by `embassy-executor`. | 5 | NOTE: Do not use this crate directly. The macros are re-exported by `embassy-executor`. |
| 6 | |||
| 7 | ## License | ||
| 8 | |||
| 9 | This work is licensed under either of | ||
| 10 | |||
| 11 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 12 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 13 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 14 | |||
| 15 | at your option. | ||
diff --git a/embassy-futures/README.md b/embassy-futures/README.md index 7add22c7b..b28a8431a 100644 --- a/embassy-futures/README.md +++ b/embassy-futures/README.md | |||
| @@ -11,18 +11,3 @@ ideal for embedded systems. | |||
| 11 | ## Interoperability | 11 | ## Interoperability |
| 12 | 12 | ||
| 13 | Futures from this crate can run on any executor. | 13 | Futures from this crate can run on any executor. |
| 14 | |||
| 15 | ## Minimum supported Rust version (MSRV) | ||
| 16 | |||
| 17 | Embassy is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 18 | |||
| 19 | ## License | ||
| 20 | |||
| 21 | This work is licensed under either of | ||
| 22 | |||
| 23 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 24 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 25 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 26 | |||
| 27 | at your option. | ||
| 28 | |||
diff --git a/embassy-hal-internal/README.md b/embassy-hal-internal/README.md index 6b060d1c0..1adce5b33 100644 --- a/embassy-hal-internal/README.md +++ b/embassy-hal-internal/README.md | |||
| @@ -4,13 +4,3 @@ An [Embassy](https://embassy.dev) project. | |||
| 4 | 4 | ||
| 5 | Internal implementation details for Embassy HALs. DO NOT USE DIRECTLY. Embassy HALs (`embassy-nrf`, `embassy-stm32`, `embassy-rp`) already reexport | 5 | Internal implementation details for Embassy HALs. DO NOT USE DIRECTLY. Embassy HALs (`embassy-nrf`, `embassy-stm32`, `embassy-rp`) already reexport |
| 6 | everything you need to use them effectively. | 6 | everything you need to use them effectively. |
| 7 | |||
| 8 | ## License | ||
| 9 | |||
| 10 | This work is licensed under either of | ||
| 11 | |||
| 12 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 13 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 14 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 15 | |||
| 16 | at your option. | ||
diff --git a/embassy-net-adin1110/README.md b/embassy-net-adin1110/README.md index 8ea10b714..39a38960d 100644 --- a/embassy-net-adin1110/README.md +++ b/embassy-net-adin1110/README.md | |||
| @@ -76,13 +76,3 @@ Summary: | |||
| 76 | Size/request: 289 B | 76 | Size/request: 289 B |
| 77 | Size/sec: 51.11 KiB | 77 | Size/sec: 51.11 KiB |
| 78 | ``` | 78 | ``` |
| 79 | |||
| 80 | ## License | ||
| 81 | |||
| 82 | This work is licensed under either of | ||
| 83 | |||
| 84 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 85 | http://www.apache.org/licenses/LICENSE-2.0) | ||
| 86 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | ||
| 87 | |||
| 88 | at your option. | ||
diff --git a/embassy-net-driver-channel/README.md b/embassy-net-driver-channel/README.md index 90a216388..1955624d1 100644 --- a/embassy-net-driver-channel/README.md +++ b/embassy-net-driver-channel/README.md | |||
| @@ -84,13 +84,3 @@ These `embassy-net` drivers are implemented using this crate. You can look at th | |||
| 84 | ## Interoperability | 84 | ## Interoperability |
| 85 | 85 | ||
| 86 | This crate can run on any executor. | 86 | This crate can run on any executor. |
| 87 | |||
| 88 | ## License | ||
| 89 | |||
| 90 | This work is licensed under either of | ||
| 91 | |||
| 92 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 93 | http://www.apache.org/licenses/LICENSE-2.0) | ||
| 94 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | ||
| 95 | |||
| 96 | at your option. | ||
diff --git a/embassy-net-driver/README.md b/embassy-net-driver/README.md index 6a757380d..24fcaafc4 100644 --- a/embassy-net-driver/README.md +++ b/embassy-net-driver/README.md | |||
| @@ -16,13 +16,3 @@ packet queues for RX and TX. | |||
| 16 | ## Interoperability | 16 | ## Interoperability |
| 17 | 17 | ||
| 18 | This crate can run on any executor. | 18 | This crate can run on any executor. |
| 19 | |||
| 20 | ## License | ||
| 21 | |||
| 22 | This work is licensed under either of | ||
| 23 | |||
| 24 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 25 | http://www.apache.org/licenses/LICENSE-2.0) | ||
| 26 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | ||
| 27 | |||
| 28 | at your option. | ||
diff --git a/embassy-net-enc28j60/README.md b/embassy-net-enc28j60/README.md index 39011ca13..5c663b52e 100644 --- a/embassy-net-enc28j60/README.md +++ b/embassy-net-enc28j60/README.md | |||
| @@ -7,13 +7,3 @@ Based on [@japaric](https://github.com/japaric)'s [`enc28j60`](https://github.co | |||
| 7 | ## Interoperability | 7 | ## Interoperability |
| 8 | 8 | ||
| 9 | This crate can run on any executor. | 9 | This crate can run on any executor. |
| 10 | |||
| 11 | ## License | ||
| 12 | |||
| 13 | This work is licensed under either of | ||
| 14 | |||
| 15 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 16 | http://www.apache.org/licenses/LICENSE-2.0) | ||
| 17 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | ||
| 18 | |||
| 19 | at your option. | ||
diff --git a/embassy-net-esp-hosted/README.md b/embassy-net-esp-hosted/README.md index 3c9cc4c9e..524231e6c 100644 --- a/embassy-net-esp-hosted/README.md +++ b/embassy-net-esp-hosted/README.md | |||
| @@ -1,27 +1,11 @@ | |||
| 1 | # ESP-Hosted `embassy-net` integration | 1 | # ESP-Hosted `embassy-net` integration |
| 2 | 2 | ||
| 3 | [`embassy-net`](https://crates.io/crates/embassy-net) integration for Espressif SoCs running the the ESP-Hosted stack. | 3 | [`embassy-net`](https://crates.io/crates/embassy-net) integration for Espressif SoCs running the the [ESP-Hosted](https://github.com/espressif/esp-hosted) stack. |
| 4 | 4 | ||
| 5 | See [`examples`](https://github.com/embassy-rs/embassy/tree/main/examples/nrf52840) directory for usage examples with the nRF52840. | 5 | See [`examples`](https://github.com/embassy-rs/embassy/tree/main/examples/nrf52840) directory for usage examples with the nRF52840. |
| 6 | 6 | ||
| 7 | ## Supported chips | ||
| 8 | |||
| 9 | - W5500 | ||
| 10 | - W5100S | ||
| 11 | |||
| 12 | ## Interoperability | 7 | ## Interoperability |
| 13 | 8 | ||
| 14 | This crate can run on any executor. | 9 | This crate can run on any executor. |
| 15 | 10 | ||
| 16 | It supports any SPI driver implementing [`embedded-hal-async`](https://crates.io/crates/embedded-hal-async). | 11 | It supports any SPI driver implementing [`embedded-hal-async`](https://crates.io/crates/embedded-hal-async). |
| 17 | |||
| 18 | |||
| 19 | ## License | ||
| 20 | |||
| 21 | This work is licensed under either of | ||
| 22 | |||
| 23 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 24 | http://www.apache.org/licenses/LICENSE-2.0) | ||
| 25 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | ||
| 26 | |||
| 27 | at your option. | ||
diff --git a/embassy-net-ppp/README.md b/embassy-net-ppp/README.md index 58d67395a..0eb7cee87 100644 --- a/embassy-net-ppp/README.md +++ b/embassy-net-ppp/README.md | |||
| @@ -7,13 +7,3 @@ | |||
| 7 | This crate can run on any executor. | 7 | This crate can run on any executor. |
| 8 | 8 | ||
| 9 | It supports any serial port implementing [`embedded-io-async`](https://crates.io/crates/embedded-io-async). | 9 | It supports any serial port implementing [`embedded-io-async`](https://crates.io/crates/embedded-io-async). |
| 10 | |||
| 11 | ## License | ||
| 12 | |||
| 13 | This work is licensed under either of | ||
| 14 | |||
| 15 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 16 | http://www.apache.org/licenses/LICENSE-2.0) | ||
| 17 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | ||
| 18 | |||
| 19 | at your option. | ||
diff --git a/embassy-net-tuntap/README.md b/embassy-net-tuntap/README.md index c5d9e746c..60a4a1bd9 100644 --- a/embassy-net-tuntap/README.md +++ b/embassy-net-tuntap/README.md | |||
| @@ -5,13 +5,3 @@ | |||
| 5 | ## Interoperability | 5 | ## Interoperability |
| 6 | 6 | ||
| 7 | This crate can run on any executor. | 7 | This crate can run on any executor. |
| 8 | |||
| 9 | ## License | ||
| 10 | |||
| 11 | This work is licensed under either of | ||
| 12 | |||
| 13 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 14 | http://www.apache.org/licenses/LICENSE-2.0) | ||
| 15 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | ||
| 16 | |||
| 17 | at your option. | ||
diff --git a/embassy-net-wiznet/README.md b/embassy-net-wiznet/README.md index b8e4bdc8e..786aab18d 100644 --- a/embassy-net-wiznet/README.md +++ b/embassy-net-wiznet/README.md | |||
| @@ -14,14 +14,3 @@ See [`examples`](https://github.com/embassy-rs/embassy/tree/main/examples/rp) di | |||
| 14 | This crate can run on any executor. | 14 | This crate can run on any executor. |
| 15 | 15 | ||
| 16 | It supports any SPI driver implementing [`embedded-hal-async`](https://crates.io/crates/embedded-hal-async). | 16 | It supports any SPI driver implementing [`embedded-hal-async`](https://crates.io/crates/embedded-hal-async). |
| 17 | |||
| 18 | |||
| 19 | ## License | ||
| 20 | |||
| 21 | This work is licensed under either of | ||
| 22 | |||
| 23 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 24 | http://www.apache.org/licenses/LICENSE-2.0) | ||
| 25 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | ||
| 26 | |||
| 27 | at your option. | ||
diff --git a/embassy-net/README.md b/embassy-net/README.md index 52d048e6a..94aa6f550 100644 --- a/embassy-net/README.md +++ b/embassy-net/README.md | |||
| @@ -51,13 +51,3 @@ This crate can run on any executor. | |||
| 51 | 51 | ||
| 52 | [`embassy-time`](https://crates.io/crates/embassy-time) is used for timekeeping and timeouts. You must | 52 | [`embassy-time`](https://crates.io/crates/embassy-time) is used for timekeeping and timeouts. You must |
| 53 | link an `embassy-time` driver in your project to use this crate. | 53 | link an `embassy-time` driver in your project to use this crate. |
| 54 | |||
| 55 | ## License | ||
| 56 | |||
| 57 | This work is licensed under either of | ||
| 58 | |||
| 59 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 60 | http://www.apache.org/licenses/LICENSE-2.0) | ||
| 61 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | ||
| 62 | |||
| 63 | at your option. | ||
diff --git a/embassy-nrf/README.md b/embassy-nrf/README.md index 39de3854b..5e2bd86de 100644 --- a/embassy-nrf/README.md +++ b/embassy-nrf/README.md | |||
| @@ -43,18 +43,3 @@ as the methods without the suffix will be allocating a statically sized buffer ( | |||
| 43 | 43 | ||
| 44 | Note that the methods that read data like [`read`](spim::Spim::read) and [`transfer_in_place`](spim::Spim::transfer_in_place) do not have the corresponding `_from_ram` variants as | 44 | Note that the methods that read data like [`read`](spim::Spim::read) and [`transfer_in_place`](spim::Spim::transfer_in_place) do not have the corresponding `_from_ram` variants as |
| 45 | mutable slices always reside in RAM. | 45 | mutable slices always reside in RAM. |
| 46 | |||
| 47 | ## Minimum supported Rust version (MSRV) | ||
| 48 | |||
| 49 | Embassy is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 50 | |||
| 51 | ## License | ||
| 52 | |||
| 53 | This work is licensed under either of | ||
| 54 | |||
| 55 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 56 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 57 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 58 | |||
| 59 | at your option. | ||
| 60 | |||
diff --git a/embassy-rp/README.md b/embassy-rp/README.md index cd79fe501..1d14eca52 100644 --- a/embassy-rp/README.md +++ b/embassy-rp/README.md | |||
| @@ -7,17 +7,3 @@ for many peripherals. The benefit of using the async APIs is that the HAL takes | |||
| 7 | complete operations in low power mod and handling interrupts, so that applications can focus on more important matters. | 7 | complete operations in low power mod and handling interrupts, so that applications can focus on more important matters. |
| 8 | 8 | ||
| 9 | NOTE: The Embassy HALs can be used both for non-async and async operations. For async, you can choose which runtime you want to use. | 9 | NOTE: The Embassy HALs can be used both for non-async and async operations. For async, you can choose which runtime you want to use. |
| 10 | |||
| 11 | ## Minimum supported Rust version (MSRV) | ||
| 12 | |||
| 13 | Embassy is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 14 | |||
| 15 | ## License | ||
| 16 | |||
| 17 | This work is licensed under either of | ||
| 18 | |||
| 19 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 20 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 21 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 22 | |||
| 23 | at your option. | ||
diff --git a/embassy-sync/README.md b/embassy-sync/README.md index 55618f72d..c2e13799e 100644 --- a/embassy-sync/README.md +++ b/embassy-sync/README.md | |||
| @@ -17,17 +17,3 @@ Synchronization primitives and data structures with async support: | |||
| 17 | ## Interoperability | 17 | ## Interoperability |
| 18 | 18 | ||
| 19 | Futures from this crate can run on any executor. | 19 | Futures from this crate can run on any executor. |
| 20 | |||
| 21 | ## Minimum supported Rust version (MSRV) | ||
| 22 | |||
| 23 | Embassy is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 24 | |||
| 25 | ## License | ||
| 26 | |||
| 27 | This work is licensed under either of | ||
| 28 | |||
| 29 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 30 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 31 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 32 | |||
| 33 | at your option. | ||
diff --git a/embassy-usb-dfu/Cargo.toml b/embassy-usb-dfu/Cargo.toml index ee110ee87..2d8895123 100644 --- a/embassy-usb-dfu/Cargo.toml +++ b/embassy-usb-dfu/Cargo.toml | |||
| @@ -17,7 +17,7 @@ categories = [ | |||
| 17 | bitflags = "2.4.1" | 17 | bitflags = "2.4.1" |
| 18 | cortex-m = { version = "0.7.7", features = ["inline-asm"], optional = true } | 18 | cortex-m = { version = "0.7.7", features = ["inline-asm"], optional = true } |
| 19 | defmt = { version = "0.3.5", optional = true } | 19 | defmt = { version = "0.3.5", optional = true } |
| 20 | embassy-boot = { version = "0.1.1", path = "../embassy-boot/boot" } | 20 | embassy-boot = { version = "0.1.1", path = "../embassy-boot" } |
| 21 | # embassy-embedded-hal = { version = "0.1.0", path = "../embassy-embedded-hal" } | 21 | # embassy-embedded-hal = { version = "0.1.0", path = "../embassy-embedded-hal" } |
| 22 | embassy-futures = { version = "0.1.1", path = "../embassy-futures" } | 22 | embassy-futures = { version = "0.1.1", path = "../embassy-futures" } |
| 23 | embassy-sync = { version = "0.5.0", path = "../embassy-sync" } | 23 | embassy-sync = { version = "0.5.0", path = "../embassy-sync" } |
diff --git a/embassy-usb-dfu/README.md b/embassy-usb-dfu/README.md index d8bc19bfd..bdd5b033a 100644 --- a/embassy-usb-dfu/README.md +++ b/embassy-usb-dfu/README.md | |||
| @@ -4,17 +4,3 @@ An implementation of the USB DFU 1.1 protocol using embassy-boot. It has 2 compo | |||
| 4 | 4 | ||
| 5 | * DFU protocol mode, enabled by the `dfu` feature. This mode corresponds to the transfer phase DFU protocol described by the USB IF. It supports DFU_DNLOAD requests if marked by the user, and will automatically reset the chip once a DFU transaction has been completed. It also responds to DFU_GETSTATUS, DFU_GETSTATE, DFU_ABORT, and DFU_CLRSTATUS with no user intervention. | 5 | * DFU protocol mode, enabled by the `dfu` feature. This mode corresponds to the transfer phase DFU protocol described by the USB IF. It supports DFU_DNLOAD requests if marked by the user, and will automatically reset the chip once a DFU transaction has been completed. It also responds to DFU_GETSTATUS, DFU_GETSTATE, DFU_ABORT, and DFU_CLRSTATUS with no user intervention. |
| 6 | * DFU runtime mode, enabled by the `application feature`. This mode allows users to expose a DFU interface on their USB device, informing the host of the capability to DFU over USB, and allowing the host to reset the device into its bootloader to complete a DFU operation. Supports DFU_GETSTATUS and DFU_DETACH. When detach/reset is seen by the device as described by the standard, will write a new DFU magic number into the bootloader state in flash, and reset the system. | 6 | * DFU runtime mode, enabled by the `application feature`. This mode allows users to expose a DFU interface on their USB device, informing the host of the capability to DFU over USB, and allowing the host to reset the device into its bootloader to complete a DFU operation. Supports DFU_GETSTATUS and DFU_DETACH. When detach/reset is seen by the device as described by the standard, will write a new DFU magic number into the bootloader state in flash, and reset the system. |
| 7 | |||
| 8 | ## Minimum supported Rust version (MSRV) | ||
| 9 | |||
| 10 | Embassy is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 11 | |||
| 12 | ## License | ||
| 13 | |||
| 14 | This work is licensed under either of | ||
| 15 | |||
| 16 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 17 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 18 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 19 | |||
| 20 | at your option. | ||
diff --git a/embassy-usb-driver/README.md b/embassy-usb-driver/README.md index 93aef7596..7628a6937 100644 --- a/embassy-usb-driver/README.md +++ b/embassy-usb-driver/README.md | |||
| @@ -15,18 +15,3 @@ instead of this one. | |||
| 15 | ## Interoperability | 15 | ## Interoperability |
| 16 | 16 | ||
| 17 | This crate can run on any executor. | 17 | This crate can run on any executor. |
| 18 | |||
| 19 | ## Minimum supported Rust version (MSRV) | ||
| 20 | |||
| 21 | This crate requires nightly Rust, due to using "async fn in trait" support. | ||
| 22 | |||
| 23 | ## License | ||
| 24 | |||
| 25 | This work is licensed under either of | ||
| 26 | |||
| 27 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 28 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 29 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 30 | |||
| 31 | at your option. | ||
| 32 | |||
diff --git a/embassy-usb-logger/README.md b/embassy-usb-logger/README.md index 6cb18e87d..81b0dcd0e 100644 --- a/embassy-usb-logger/README.md +++ b/embassy-usb-logger/README.md | |||
| @@ -13,17 +13,3 @@ async fn logger_task(driver: Driver<'static, USB>) { | |||
| 13 | embassy_usb_logger::run!(1024, log::LevelFilter::Info, driver); | 13 | embassy_usb_logger::run!(1024, log::LevelFilter::Info, driver); |
| 14 | } | 14 | } |
| 15 | ``` | 15 | ``` |
| 16 | |||
| 17 | ## Minimum supported Rust version (MSRV) | ||
| 18 | |||
| 19 | Embassy is guaranteed to compile on the latest stable Rust version at the time of release. It might compile with older versions but that may change in any new patch release. | ||
| 20 | |||
| 21 | ## License | ||
| 22 | |||
| 23 | This work is licensed under either of | ||
| 24 | |||
| 25 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 26 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 27 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 28 | |||
| 29 | at your option. | ||
diff --git a/embassy-usb/README.md b/embassy-usb/README.md index a3d45b561..7411fcf52 100644 --- a/embassy-usb/README.md +++ b/embassy-usb/README.md | |||
| @@ -1,6 +1,28 @@ | |||
| 1 | # embassy-usb | 1 | # embassy-usb |
| 2 | 2 | ||
| 3 | TODO crate description | 3 | Async USB device stack for embedded devices in Rust. |
| 4 | |||
| 5 | ## Features | ||
| 6 | |||
| 7 | - Native async. | ||
| 8 | - Fully lock-free: endpoints are separate objects that can be used independently without needing a central mutex. If the driver supports it, they can even be used from different priority levels. | ||
| 9 | - Suspend/resume, remote wakeup. | ||
| 10 | - USB composite devices. | ||
| 11 | - Ergonomic descriptor builder. | ||
| 12 | - Ready-to-use implementations for a few USB classes (note you can still implement any class yourself oustide the crate). | ||
| 13 | - Serial ports (CDC ACM) | ||
| 14 | - Ethernet (CDC NCM) | ||
| 15 | - Human Interface Devices (HID) | ||
| 16 | - MIDI | ||
| 17 | |||
| 18 | ## Adding support for new hardware | ||
| 19 | |||
| 20 | To add `embassy-usb` support for new hardware (i.e. a new MCU chip), you have to write a driver that implements | ||
| 21 | the [`embassy-usb-driver`](https://crates.io/crates/embassy-usb-driver) traits. | ||
| 22 | |||
| 23 | Driver crates should depend only on `embassy-usb-driver`, not on the main `embassy-usb` crate. | ||
| 24 | This allows existing drivers to continue working for newer `embassy-usb` major versions, without needing an update, if the driver | ||
| 25 | trait has not had breaking changes. | ||
| 4 | 26 | ||
| 5 | ## Configuration | 27 | ## Configuration |
| 6 | 28 | ||
| @@ -23,22 +45,6 @@ with different values, compilation fails. | |||
| 23 | 45 | ||
| 24 | Max amount of interfaces that can be created in one device. Default: 4. | 46 | Max amount of interfaces that can be created in one device. Default: 4. |
| 25 | 47 | ||
| 26 | |||
| 27 | ## Interoperability | 48 | ## Interoperability |
| 28 | 49 | ||
| 29 | This crate can run on any executor. | 50 | This crate can run on any executor. |
| 30 | |||
| 31 | ## Minimum supported Rust version (MSRV) | ||
| 32 | |||
| 33 | This crate requires nightly Rust, due to using "async fn in trait" support. | ||
| 34 | |||
| 35 | ## License | ||
| 36 | |||
| 37 | This work is licensed under either of | ||
| 38 | |||
| 39 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | ||
| 40 | <http://www.apache.org/licenses/LICENSE-2.0>) | ||
| 41 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) | ||
| 42 | |||
| 43 | at your option. | ||
| 44 | |||
diff --git a/examples/boot/application/nrf/Cargo.toml b/examples/boot/application/nrf/Cargo.toml index eba9a0579..7b62d9a20 100644 --- a/examples/boot/application/nrf/Cargo.toml +++ b/examples/boot/application/nrf/Cargo.toml | |||
| @@ -9,8 +9,8 @@ embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | |||
| 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-16384", "arch-cortex-m", "executor-thread", "integrated-timers", "arch-cortex-m", "executor-thread"] } | 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-16384", "arch-cortex-m", "executor-thread", "integrated-timers", "arch-cortex-m", "executor-thread"] } |
| 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [] } | 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [] } |
| 11 | embassy-nrf = { version = "0.1.0", path = "../../../../embassy-nrf", features = ["time-driver-rtc1", "gpiote", ] } | 11 | embassy-nrf = { version = "0.1.0", path = "../../../../embassy-nrf", features = ["time-driver-rtc1", "gpiote", ] } |
| 12 | embassy-boot = { version = "0.1.0", path = "../../../../embassy-boot/boot", features = [] } | 12 | embassy-boot = { version = "0.1.0", path = "../../../../embassy-boot", features = [] } |
| 13 | embassy-boot-nrf = { version = "0.1.0", path = "../../../../embassy-boot/nrf", features = [] } | 13 | embassy-boot-nrf = { version = "0.1.0", path = "../../../../embassy-boot-nrf", features = [] } |
| 14 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | 14 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } |
| 15 | 15 | ||
| 16 | defmt = { version = "0.3", optional = true } | 16 | defmt = { version = "0.3", optional = true } |
diff --git a/examples/boot/application/rp/Cargo.toml b/examples/boot/application/rp/Cargo.toml index 38c9f8cff..ccaa9f8ef 100644 --- a/examples/boot/application/rp/Cargo.toml +++ b/examples/boot/application/rp/Cargo.toml | |||
| @@ -9,7 +9,7 @@ embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | |||
| 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-16384", "arch-cortex-m", "executor-thread", "integrated-timers", "arch-cortex-m", "executor-thread"] } | 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-16384", "arch-cortex-m", "executor-thread", "integrated-timers", "arch-cortex-m", "executor-thread"] } |
| 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [] } | 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [] } |
| 11 | embassy-rp = { version = "0.1.0", path = "../../../../embassy-rp", features = ["time-driver", ] } | 11 | embassy-rp = { version = "0.1.0", path = "../../../../embassy-rp", features = ["time-driver", ] } |
| 12 | embassy-boot-rp = { version = "0.1.0", path = "../../../../embassy-boot/rp", features = [] } | 12 | embassy-boot-rp = { version = "0.1.0", path = "../../../../embassy-boot-rp", features = [] } |
| 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } |
| 14 | 14 | ||
| 15 | defmt = "0.3" | 15 | defmt = "0.3" |
diff --git a/examples/boot/application/stm32f3/Cargo.toml b/examples/boot/application/stm32f3/Cargo.toml index 9c0aeb463..f4bc285bf 100644 --- a/examples/boot/application/stm32f3/Cargo.toml +++ b/examples/boot/application/stm32f3/Cargo.toml | |||
| @@ -9,7 +9,7 @@ embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | |||
| 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } | 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } |
| 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } |
| 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32f303re", "time-driver-any", "exti"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32f303re", "time-driver-any", "exti"] } |
| 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32" } | 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot-stm32" } |
| 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } |
| 14 | 14 | ||
| 15 | defmt = { version = "0.3", optional = true } | 15 | defmt = { version = "0.3", optional = true } |
diff --git a/examples/boot/application/stm32f7/Cargo.toml b/examples/boot/application/stm32f7/Cargo.toml index e81ff618e..575220ade 100644 --- a/examples/boot/application/stm32f7/Cargo.toml +++ b/examples/boot/application/stm32f7/Cargo.toml | |||
| @@ -9,7 +9,7 @@ embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | |||
| 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } | 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } |
| 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } |
| 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32f767zi", "time-driver-any", "exti"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32f767zi", "time-driver-any", "exti"] } |
| 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot-stm32", features = [] } |
| 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } |
| 14 | 14 | ||
| 15 | defmt = { version = "0.3", optional = true } | 15 | defmt = { version = "0.3", optional = true } |
diff --git a/examples/boot/application/stm32h7/Cargo.toml b/examples/boot/application/stm32h7/Cargo.toml index f75ffc8e6..12c34565a 100644 --- a/examples/boot/application/stm32h7/Cargo.toml +++ b/examples/boot/application/stm32h7/Cargo.toml | |||
| @@ -9,7 +9,7 @@ embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | |||
| 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } | 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } |
| 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } |
| 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32h743zi", "time-driver-any", "exti"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32h743zi", "time-driver-any", "exti"] } |
| 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot-stm32", features = [] } |
| 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } |
| 14 | 14 | ||
| 15 | defmt = { version = "0.3", optional = true } | 15 | defmt = { version = "0.3", optional = true } |
diff --git a/examples/boot/application/stm32l0/Cargo.toml b/examples/boot/application/stm32l0/Cargo.toml index f58bd9557..9f705dc26 100644 --- a/examples/boot/application/stm32l0/Cargo.toml +++ b/examples/boot/application/stm32l0/Cargo.toml | |||
| @@ -9,7 +9,7 @@ embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | |||
| 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } | 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } |
| 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } |
| 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l072cz", "time-driver-any", "exti", "memory-x"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l072cz", "time-driver-any", "exti", "memory-x"] } |
| 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot-stm32", features = [] } |
| 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } |
| 14 | 14 | ||
| 15 | defmt = { version = "0.3", optional = true } | 15 | defmt = { version = "0.3", optional = true } |
diff --git a/examples/boot/application/stm32l1/Cargo.toml b/examples/boot/application/stm32l1/Cargo.toml index 887126f9d..7ba5f143b 100644 --- a/examples/boot/application/stm32l1/Cargo.toml +++ b/examples/boot/application/stm32l1/Cargo.toml | |||
| @@ -9,7 +9,7 @@ embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | |||
| 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } | 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } |
| 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } |
| 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l151cb-a", "time-driver-any", "exti"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l151cb-a", "time-driver-any", "exti"] } |
| 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot-stm32", features = [] } |
| 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } |
| 14 | 14 | ||
| 15 | defmt = { version = "0.3", optional = true } | 15 | defmt = { version = "0.3", optional = true } |
diff --git a/examples/boot/application/stm32l4/Cargo.toml b/examples/boot/application/stm32l4/Cargo.toml index d5fabac82..08cb87e0b 100644 --- a/examples/boot/application/stm32l4/Cargo.toml +++ b/examples/boot/application/stm32l4/Cargo.toml | |||
| @@ -9,7 +9,7 @@ embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | |||
| 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } | 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } |
| 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } |
| 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "time-driver-any", "exti"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "time-driver-any", "exti"] } |
| 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot-stm32", features = [] } |
| 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } |
| 14 | 14 | ||
| 15 | defmt = { version = "0.3", optional = true } | 15 | defmt = { version = "0.3", optional = true } |
diff --git a/examples/boot/application/stm32wb-dfu/Cargo.toml b/examples/boot/application/stm32wb-dfu/Cargo.toml index 394546b75..58bba66d7 100644 --- a/examples/boot/application/stm32wb-dfu/Cargo.toml +++ b/examples/boot/application/stm32wb-dfu/Cargo.toml | |||
| @@ -9,7 +9,7 @@ embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | |||
| 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } | 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } |
| 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } |
| 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32wb55rg", "time-driver-any", "exti"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32wb55rg", "time-driver-any", "exti"] } |
| 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot-stm32", features = [] } |
| 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } |
| 14 | embassy-usb = { version = "0.1.0", path = "../../../../embassy-usb" } | 14 | embassy-usb = { version = "0.1.0", path = "../../../../embassy-usb" } |
| 15 | embassy-usb-dfu = { version = "0.1.0", path = "../../../../embassy-usb-dfu", features = ["application", "cortex-m"] } | 15 | embassy-usb-dfu = { version = "0.1.0", path = "../../../../embassy-usb-dfu", features = ["application", "cortex-m"] } |
diff --git a/examples/boot/application/stm32wl/Cargo.toml b/examples/boot/application/stm32wl/Cargo.toml index 6c4dc7975..7ce560de2 100644 --- a/examples/boot/application/stm32wl/Cargo.toml +++ b/examples/boot/application/stm32wl/Cargo.toml | |||
| @@ -9,7 +9,7 @@ embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | |||
| 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } | 9 | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["task-arena-size-8192", "arch-cortex-m", "executor-thread", "integrated-timers"] } |
| 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | 10 | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } |
| 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32wl55jc-cm4", "time-driver-any", "exti"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32wl55jc-cm4", "time-driver-any", "exti"] } |
| 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | 12 | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot-stm32", features = [] } |
| 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } | 13 | embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" } |
| 14 | 14 | ||
| 15 | defmt = { version = "0.3", optional = true } | 15 | defmt = { version = "0.3", optional = true } |
diff --git a/examples/boot/bootloader/nrf/Cargo.toml b/examples/boot/bootloader/nrf/Cargo.toml index a7273175f..3e41d1479 100644 --- a/examples/boot/bootloader/nrf/Cargo.toml +++ b/examples/boot/bootloader/nrf/Cargo.toml | |||
| @@ -10,7 +10,7 @@ defmt = { version = "0.3", optional = true } | |||
| 10 | defmt-rtt = { version = "0.4", optional = true } | 10 | defmt-rtt = { version = "0.4", optional = true } |
| 11 | 11 | ||
| 12 | embassy-nrf = { path = "../../../../embassy-nrf", features = [] } | 12 | embassy-nrf = { path = "../../../../embassy-nrf", features = [] } |
| 13 | embassy-boot-nrf = { path = "../../../../embassy-boot/nrf" } | 13 | embassy-boot-nrf = { path = "../../../../embassy-boot-nrf" } |
| 14 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } | 14 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } |
| 15 | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | 15 | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } |
| 16 | cortex-m-rt = { version = "0.7" } | 16 | cortex-m-rt = { version = "0.7" } |
diff --git a/examples/boot/bootloader/rp/Cargo.toml b/examples/boot/bootloader/rp/Cargo.toml index 5bc61e9ec..3cf61a002 100644 --- a/examples/boot/bootloader/rp/Cargo.toml +++ b/examples/boot/bootloader/rp/Cargo.toml | |||
| @@ -10,7 +10,7 @@ defmt = { version = "0.3", optional = true } | |||
| 10 | defmt-rtt = { version = "0.4", optional = true } | 10 | defmt-rtt = { version = "0.4", optional = true } |
| 11 | 11 | ||
| 12 | embassy-rp = { path = "../../../../embassy-rp", features = [] } | 12 | embassy-rp = { path = "../../../../embassy-rp", features = [] } |
| 13 | embassy-boot-rp = { path = "../../../../embassy-boot/rp" } | 13 | embassy-boot-rp = { path = "../../../../embassy-boot-rp" } |
| 14 | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | 14 | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } |
| 15 | embassy-time = { path = "../../../../embassy-time", features = [] } | 15 | embassy-time = { path = "../../../../embassy-time", features = [] } |
| 16 | 16 | ||
diff --git a/examples/boot/bootloader/stm32/Cargo.toml b/examples/boot/bootloader/stm32/Cargo.toml index 2d88b0f78..74c01b0f4 100644 --- a/examples/boot/bootloader/stm32/Cargo.toml +++ b/examples/boot/bootloader/stm32/Cargo.toml | |||
| @@ -10,7 +10,7 @@ defmt = { version = "0.3", optional = true } | |||
| 10 | defmt-rtt = { version = "0.4", optional = true } | 10 | defmt-rtt = { version = "0.4", optional = true } |
| 11 | 11 | ||
| 12 | embassy-stm32 = { path = "../../../../embassy-stm32", features = [] } | 12 | embassy-stm32 = { path = "../../../../embassy-stm32", features = [] } |
| 13 | embassy-boot-stm32 = { path = "../../../../embassy-boot/stm32" } | 13 | embassy-boot-stm32 = { path = "../../../../embassy-boot-stm32" } |
| 14 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } | 14 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } |
| 15 | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | 15 | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } |
| 16 | cortex-m-rt = { version = "0.7" } | 16 | cortex-m-rt = { version = "0.7" } |
diff --git a/examples/boot/bootloader/stm32wb-dfu/Cargo.toml b/examples/boot/bootloader/stm32wb-dfu/Cargo.toml index ada073970..96635afa2 100644 --- a/examples/boot/bootloader/stm32wb-dfu/Cargo.toml +++ b/examples/boot/bootloader/stm32wb-dfu/Cargo.toml | |||
| @@ -10,7 +10,7 @@ defmt = { version = "0.3", optional = true } | |||
| 10 | defmt-rtt = { version = "0.4", optional = true } | 10 | defmt-rtt = { version = "0.4", optional = true } |
| 11 | 11 | ||
| 12 | embassy-stm32 = { path = "../../../../embassy-stm32", features = ["stm32wb55rg"] } | 12 | embassy-stm32 = { path = "../../../../embassy-stm32", features = ["stm32wb55rg"] } |
| 13 | embassy-boot-stm32 = { path = "../../../../embassy-boot/stm32" } | 13 | embassy-boot-stm32 = { path = "../../../../embassy-boot-stm32" } |
| 14 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } | 14 | cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } |
| 15 | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | 15 | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } |
| 16 | cortex-m-rt = { version = "0.7" } | 16 | cortex-m-rt = { version = "0.7" } |
