diff options
| -rw-r--r-- | .github/workflows/rust.yml | 29 | ||||
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | .vscode/extensions.json | 11 | ||||
| -rw-r--r-- | .vscode/settings.json | 17 | ||||
| -rw-r--r-- | LICENSE-APACHE | 201 | ||||
| -rw-r--r-- | LICENSE-MIT | 25 | ||||
| -rwxr-xr-x | ci.sh | 25 | ||||
| -rwxr-xr-x | cyw43-firmware/43439A0.bin (renamed from firmware/43439A0.bin) | bin | 224190 -> 224190 bytes | |||
| -rwxr-xr-x | cyw43-firmware/43439A0_clm.bin (renamed from firmware/43439A0_clm.bin) | bin | 4752 -> 4752 bytes | |||
| -rw-r--r-- | cyw43-firmware/LICENSE-permissive-binary-license-1.0.txt (renamed from firmware/LICENSE-permissive-binary-license-1.0.txt) | 0 | ||||
| -rw-r--r-- | cyw43-firmware/README.md (renamed from firmware/README.md) | 0 | ||||
| -rw-r--r-- | cyw43-pio/Cargo.toml | 2 | ||||
| -rw-r--r-- | cyw43/Cargo.toml (renamed from Cargo.toml) | 0 | ||||
| -rw-r--r-- | cyw43/README.md (renamed from README.md) | 0 | ||||
| -rw-r--r-- | cyw43/src/bus.rs (renamed from src/bus.rs) | 0 | ||||
| -rw-r--r-- | cyw43/src/consts.rs (renamed from src/consts.rs) | 0 | ||||
| -rw-r--r-- | cyw43/src/control.rs (renamed from src/control.rs) | 0 | ||||
| -rw-r--r-- | cyw43/src/countries.rs (renamed from src/countries.rs) | 0 | ||||
| -rw-r--r-- | cyw43/src/events.rs (renamed from src/events.rs) | 0 | ||||
| -rw-r--r-- | cyw43/src/fmt.rs (renamed from src/fmt.rs) | 0 | ||||
| -rw-r--r-- | cyw43/src/ioctl.rs (renamed from src/ioctl.rs) | 0 | ||||
| -rw-r--r-- | cyw43/src/lib.rs (renamed from src/lib.rs) | 0 | ||||
| -rw-r--r-- | cyw43/src/nvram.rs (renamed from src/nvram.rs) | 0 | ||||
| -rw-r--r-- | cyw43/src/runner.rs (renamed from src/runner.rs) | 0 | ||||
| -rw-r--r-- | cyw43/src/structs.rs (renamed from src/structs.rs) | 0 | ||||
| -rw-r--r-- | examples/rpi-pico-w/Cargo.lock | 1707 | ||||
| -rw-r--r-- | examples/rpi-pico-w/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/rpi-pico-w/src/bin/tcp_server.rs | 25 | ||||
| -rw-r--r-- | examples/rpi-pico-w/src/bin/tcp_server_ap.rs | 20 | ||||
| -rw-r--r-- | examples/rpi-pico-w/src/bin/wifi_scan.rs | 20 | ||||
| -rw-r--r-- | rust-toolchain.toml | 8 | ||||
| -rw-r--r-- | rustfmt.toml | 3 |
32 files changed, 1761 insertions, 336 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index 2cd3ba5d7..000000000 --- a/.github/workflows/rust.yml +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | name: Rust | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: [master] | ||
| 6 | pull_request: | ||
| 7 | branches: [master] | ||
| 8 | merge_group: | ||
| 9 | |||
| 10 | env: | ||
| 11 | CARGO_TERM_COLOR: always | ||
| 12 | |||
| 13 | jobs: | ||
| 14 | build-nightly: | ||
| 15 | runs-on: ubuntu-latest | ||
| 16 | steps: | ||
| 17 | - uses: actions/checkout@v2 | ||
| 18 | - uses: actions/cache@v2 | ||
| 19 | with: | ||
| 20 | path: | | ||
| 21 | ~/.cargo/registry | ||
| 22 | ~/.cargo/git | ||
| 23 | target | ||
| 24 | key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
| 25 | |||
| 26 | - name: Check fmt | ||
| 27 | run: cargo fmt -- --check | ||
| 28 | - name: Build | ||
| 29 | run: ./ci.sh | ||
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1e7caa9ea..000000000 --- a/.gitignore +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | Cargo.lock | ||
| 2 | target/ | ||
diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index a8bb78adb..000000000 --- a/.vscode/extensions.json +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | { | ||
| 2 | // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. | ||
| 3 | // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | ||
| 4 | // List of extensions which should be recommended for users of this workspace. | ||
| 5 | "recommendations": [ | ||
| 6 | "rust-lang.rust-analyzer", | ||
| 7 | "tamasfe.even-better-toml", | ||
| 8 | ], | ||
| 9 | // List of extensions recommended by VS Code that should not be recommended for users of this workspace. | ||
| 10 | "unwantedRecommendations": [] | ||
| 11 | } \ No newline at end of file | ||
diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index dd479929e..000000000 --- a/.vscode/settings.json +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | { | ||
| 2 | "editor.formatOnSave": true, | ||
| 3 | "[toml]": { | ||
| 4 | "editor.formatOnSave": false | ||
| 5 | }, | ||
| 6 | "rust-analyzer.cargo.target": "thumbv6m-none-eabi", | ||
| 7 | "rust-analyzer.cargo.noDefaultFeatures": true, | ||
| 8 | "rust-analyzer.check.allTargets": false, | ||
| 9 | "rust-analyzer.check.noDefaultFeatures": true, | ||
| 10 | "rust-analyzer.linkedProjects": [ | ||
| 11 | "examples/rpi-pico-w/Cargo.toml", | ||
| 12 | ], | ||
| 13 | "rust-analyzer.server.extraEnv": { | ||
| 14 | "WIFI_NETWORK": "foo", | ||
| 15 | "WIFI_PASSWORD": "foo", | ||
| 16 | } | ||
| 17 | } \ No newline at end of file | ||
diff --git a/LICENSE-APACHE b/LICENSE-APACHE deleted file mode 100644 index ea4fa15c9..000000000 --- a/LICENSE-APACHE +++ /dev/null | |||
| @@ -1,201 +0,0 @@ | |||
| 1 | Apache License | ||
| 2 | Version 2.0, January 2004 | ||
| 3 | http://www.apache.org/licenses/ | ||
| 4 | |||
| 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | ||
| 6 | |||
| 7 | 1. Definitions. | ||
| 8 | |||
| 9 | "License" shall mean the terms and conditions for use, reproduction, | ||
| 10 | and distribution as defined by Sections 1 through 9 of this document. | ||
| 11 | |||
| 12 | "Licensor" shall mean the copyright owner or entity authorized by | ||
| 13 | the copyright owner that is granting the License. | ||
| 14 | |||
| 15 | "Legal Entity" shall mean the union of the acting entity and all | ||
| 16 | other entities that control, are controlled by, or are under common | ||
| 17 | control with that entity. For the purposes of this definition, | ||
| 18 | "control" means (i) the power, direct or indirect, to cause the | ||
| 19 | direction or management of such entity, whether by contract or | ||
| 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||
| 21 | outstanding shares, or (iii) beneficial ownership of such entity. | ||
| 22 | |||
| 23 | "You" (or "Your") shall mean an individual or Legal Entity | ||
| 24 | exercising permissions granted by this License. | ||
| 25 | |||
| 26 | "Source" form shall mean the preferred form for making modifications, | ||
| 27 | including but not limited to software source code, documentation | ||
| 28 | source, and configuration files. | ||
| 29 | |||
| 30 | "Object" form shall mean any form resulting from mechanical | ||
| 31 | transformation or translation of a Source form, including but | ||
| 32 | not limited to compiled object code, generated documentation, | ||
| 33 | and conversions to other media types. | ||
| 34 | |||
| 35 | "Work" shall mean the work of authorship, whether in Source or | ||
| 36 | Object form, made available under the License, as indicated by a | ||
| 37 | copyright notice that is included in or attached to the work | ||
| 38 | (an example is provided in the Appendix below). | ||
| 39 | |||
| 40 | "Derivative Works" shall mean any work, whether in Source or Object | ||
| 41 | form, that is based on (or derived from) the Work and for which the | ||
| 42 | editorial revisions, annotations, elaborations, or other modifications | ||
| 43 | represent, as a whole, an original work of authorship. For the purposes | ||
| 44 | of this License, Derivative Works shall not include works that remain | ||
| 45 | separable from, or merely link (or bind by name) to the interfaces of, | ||
| 46 | the Work and Derivative Works thereof. | ||
| 47 | |||
| 48 | "Contribution" shall mean any work of authorship, including | ||
| 49 | the original version of the Work and any modifications or additions | ||
| 50 | to that Work or Derivative Works thereof, that is intentionally | ||
| 51 | submitted to Licensor for inclusion in the Work by the copyright owner | ||
| 52 | or by an individual or Legal Entity authorized to submit on behalf of | ||
| 53 | the copyright owner. For the purposes of this definition, "submitted" | ||
| 54 | means any form of electronic, verbal, or written communication sent | ||
| 55 | to the Licensor or its representatives, including but not limited to | ||
| 56 | communication on electronic mailing lists, source code control systems, | ||
| 57 | and issue tracking systems that are managed by, or on behalf of, the | ||
| 58 | Licensor for the purpose of discussing and improving the Work, but | ||
| 59 | excluding communication that is conspicuously marked or otherwise | ||
| 60 | designated in writing by the copyright owner as "Not a Contribution." | ||
| 61 | |||
| 62 | "Contributor" shall mean Licensor and any individual or Legal Entity | ||
| 63 | on behalf of whom a Contribution has been received by Licensor and | ||
| 64 | subsequently incorporated within the Work. | ||
| 65 | |||
| 66 | 2. Grant of Copyright License. Subject to the terms and conditions of | ||
| 67 | this License, each Contributor hereby grants to You a perpetual, | ||
| 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| 69 | copyright license to reproduce, prepare Derivative Works of, | ||
| 70 | publicly display, publicly perform, sublicense, and distribute the | ||
| 71 | Work and such Derivative Works in Source or Object form. | ||
| 72 | |||
| 73 | 3. Grant of Patent License. Subject to the terms and conditions of | ||
| 74 | this License, each Contributor hereby grants to You a perpetual, | ||
| 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| 76 | (except as stated in this section) patent license to make, have made, | ||
| 77 | use, offer to sell, sell, import, and otherwise transfer the Work, | ||
| 78 | where such license applies only to those patent claims licensable | ||
| 79 | by such Contributor that are necessarily infringed by their | ||
| 80 | Contribution(s) alone or by combination of their Contribution(s) | ||
| 81 | with the Work to which such Contribution(s) was submitted. If You | ||
| 82 | institute patent litigation against any entity (including a | ||
| 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work | ||
| 84 | or a Contribution incorporated within the Work constitutes direct | ||
| 85 | or contributory patent infringement, then any patent licenses | ||
| 86 | granted to You under this License for that Work shall terminate | ||
| 87 | as of the date such litigation is filed. | ||
| 88 | |||
| 89 | 4. Redistribution. You may reproduce and distribute copies of the | ||
| 90 | Work or Derivative Works thereof in any medium, with or without | ||
| 91 | modifications, and in Source or Object form, provided that You | ||
| 92 | meet the following conditions: | ||
| 93 | |||
| 94 | (a) You must give any other recipients of the Work or | ||
| 95 | Derivative Works a copy of this License; and | ||
| 96 | |||
| 97 | (b) You must cause any modified files to carry prominent notices | ||
| 98 | stating that You changed the files; and | ||
| 99 | |||
| 100 | (c) You must retain, in the Source form of any Derivative Works | ||
| 101 | that You distribute, all copyright, patent, trademark, and | ||
| 102 | attribution notices from the Source form of the Work, | ||
| 103 | excluding those notices that do not pertain to any part of | ||
| 104 | the Derivative Works; and | ||
| 105 | |||
| 106 | (d) If the Work includes a "NOTICE" text file as part of its | ||
| 107 | distribution, then any Derivative Works that You distribute must | ||
| 108 | include a readable copy of the attribution notices contained | ||
| 109 | within such NOTICE file, excluding those notices that do not | ||
| 110 | pertain to any part of the Derivative Works, in at least one | ||
| 111 | of the following places: within a NOTICE text file distributed | ||
| 112 | as part of the Derivative Works; within the Source form or | ||
| 113 | documentation, if provided along with the Derivative Works; or, | ||
| 114 | within a display generated by the Derivative Works, if and | ||
| 115 | wherever such third-party notices normally appear. The contents | ||
| 116 | of the NOTICE file are for informational purposes only and | ||
| 117 | do not modify the License. You may add Your own attribution | ||
| 118 | notices within Derivative Works that You distribute, alongside | ||
| 119 | or as an addendum to the NOTICE text from the Work, provided | ||
| 120 | that such additional attribution notices cannot be construed | ||
| 121 | as modifying the License. | ||
| 122 | |||
| 123 | You may add Your own copyright statement to Your modifications and | ||
| 124 | may provide additional or different license terms and conditions | ||
| 125 | for use, reproduction, or distribution of Your modifications, or | ||
| 126 | for any such Derivative Works as a whole, provided Your use, | ||
| 127 | reproduction, and distribution of the Work otherwise complies with | ||
| 128 | the conditions stated in this License. | ||
| 129 | |||
| 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, | ||
| 131 | any Contribution intentionally submitted for inclusion in the Work | ||
| 132 | by You to the Licensor shall be under the terms and conditions of | ||
| 133 | this License, without any additional terms or conditions. | ||
| 134 | Notwithstanding the above, nothing herein shall supersede or modify | ||
| 135 | the terms of any separate license agreement you may have executed | ||
| 136 | with Licensor regarding such Contributions. | ||
| 137 | |||
| 138 | 6. Trademarks. This License does not grant permission to use the trade | ||
| 139 | names, trademarks, service marks, or product names of the Licensor, | ||
| 140 | except as required for reasonable and customary use in describing the | ||
| 141 | origin of the Work and reproducing the content of the NOTICE file. | ||
| 142 | |||
| 143 | 7. Disclaimer of Warranty. Unless required by applicable law or | ||
| 144 | agreed to in writing, Licensor provides the Work (and each | ||
| 145 | Contributor provides its Contributions) on an "AS IS" BASIS, | ||
| 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
| 147 | implied, including, without limitation, any warranties or conditions | ||
| 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | ||
| 149 | PARTICULAR PURPOSE. You are solely responsible for determining the | ||
| 150 | appropriateness of using or redistributing the Work and assume any | ||
| 151 | risks associated with Your exercise of permissions under this License. | ||
| 152 | |||
| 153 | 8. Limitation of Liability. In no event and under no legal theory, | ||
| 154 | whether in tort (including negligence), contract, or otherwise, | ||
| 155 | unless required by applicable law (such as deliberate and grossly | ||
| 156 | negligent acts) or agreed to in writing, shall any Contributor be | ||
| 157 | liable to You for damages, including any direct, indirect, special, | ||
| 158 | incidental, or consequential damages of any character arising as a | ||
| 159 | result of this License or out of the use or inability to use the | ||
| 160 | Work (including but not limited to damages for loss of goodwill, | ||
| 161 | work stoppage, computer failure or malfunction, or any and all | ||
| 162 | other commercial damages or losses), even if such Contributor | ||
| 163 | has been advised of the possibility of such damages. | ||
| 164 | |||
| 165 | 9. Accepting Warranty or Additional Liability. While redistributing | ||
| 166 | the Work or Derivative Works thereof, You may choose to offer, | ||
| 167 | and charge a fee for, acceptance of support, warranty, indemnity, | ||
| 168 | or other liability obligations and/or rights consistent with this | ||
| 169 | License. However, in accepting such obligations, You may act only | ||
| 170 | on Your own behalf and on Your sole responsibility, not on behalf | ||
| 171 | of any other Contributor, and only if You agree to indemnify, | ||
| 172 | defend, and hold each Contributor harmless for any liability | ||
| 173 | incurred by, or claims asserted against, such Contributor by reason | ||
| 174 | of your accepting any such warranty or additional liability. | ||
| 175 | |||
| 176 | END OF TERMS AND CONDITIONS | ||
| 177 | |||
| 178 | APPENDIX: How to apply the Apache License to your work. | ||
| 179 | |||
| 180 | To apply the Apache License to your work, attach the following | ||
| 181 | boilerplate notice, with the fields enclosed by brackets "[]" | ||
| 182 | replaced with your own identifying information. (Don't include | ||
| 183 | the brackets!) The text should be enclosed in the appropriate | ||
| 184 | comment syntax for the file format. We also recommend that a | ||
| 185 | file or class name and description of purpose be included on the | ||
| 186 | same "printed page" as the copyright notice for easier | ||
| 187 | identification within third-party archives. | ||
| 188 | |||
| 189 | Copyright 2019-2022 Embassy project contributors | ||
| 190 | |||
| 191 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 192 | you may not use this file except in compliance with the License. | ||
| 193 | You may obtain a copy of the License at | ||
| 194 | |||
| 195 | http://www.apache.org/licenses/LICENSE-2.0 | ||
| 196 | |||
| 197 | Unless required by applicable law or agreed to in writing, software | ||
| 198 | distributed under the License is distributed on an "AS IS" BASIS, | ||
| 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 200 | See the License for the specific language governing permissions and | ||
| 201 | limitations under the License. | ||
diff --git a/LICENSE-MIT b/LICENSE-MIT deleted file mode 100644 index 87c052836..000000000 --- a/LICENSE-MIT +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | Copyright (c) 2019-2022 Embassy project contributors | ||
| 2 | |||
| 3 | Permission is hereby granted, free of charge, to any | ||
| 4 | person obtaining a copy of this software and associated | ||
| 5 | documentation files (the "Software"), to deal in the | ||
| 6 | Software without restriction, including without | ||
| 7 | limitation the rights to use, copy, modify, merge, | ||
| 8 | publish, distribute, sublicense, and/or sell copies of | ||
| 9 | the Software, and to permit persons to whom the Software | ||
| 10 | is furnished to do so, subject to the following | ||
| 11 | conditions: | ||
| 12 | |||
| 13 | The above copyright notice and this permission notice | ||
| 14 | shall be included in all copies or substantial portions | ||
| 15 | of the Software. | ||
| 16 | |||
| 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF | ||
| 18 | ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED | ||
| 19 | TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | ||
| 20 | PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT | ||
| 21 | SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
| 22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
| 23 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR | ||
| 24 | IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
| 25 | DEALINGS IN THE SOFTWARE. | ||
diff --git a/ci.sh b/ci.sh deleted file mode 100755 index 916838200..000000000 --- a/ci.sh +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | set -euxo pipefail | ||
| 4 | cd $(dirname $0) | ||
| 5 | |||
| 6 | export CARGO_TARGET_DIR=$(pwd)/target | ||
| 7 | export DEFMT_LOG=trace | ||
| 8 | |||
| 9 | # build examples | ||
| 10 | #================== | ||
| 11 | |||
| 12 | (cd examples/rpi-pico-w; WIFI_NETWORK=foo WIFI_PASSWORD=bar cargo build --release) | ||
| 13 | |||
| 14 | |||
| 15 | # build with log/defmt combinations | ||
| 16 | #===================================== | ||
| 17 | |||
| 18 | cargo build --target thumbv6m-none-eabi --features '' | ||
| 19 | cargo build --target thumbv6m-none-eabi --features 'log' | ||
| 20 | cargo build --target thumbv6m-none-eabi --features 'defmt' | ||
| 21 | cargo build --target thumbv6m-none-eabi --features 'log,firmware-logs' | ||
| 22 | cargo build --target thumbv6m-none-eabi --features 'defmt,firmware-logs' | ||
| 23 | |||
| 24 | (cd cyw43-pio; cargo build --target thumbv6m-none-eabi --features '') | ||
| 25 | (cd cyw43-pio; cargo build --target thumbv6m-none-eabi --features 'overclock') | ||
diff --git a/firmware/43439A0.bin b/cyw43-firmware/43439A0.bin index b46b3beff..b46b3beff 100755 --- a/firmware/43439A0.bin +++ b/cyw43-firmware/43439A0.bin | |||
| Binary files differ | |||
diff --git a/firmware/43439A0_clm.bin b/cyw43-firmware/43439A0_clm.bin index 6e3ba786b..6e3ba786b 100755 --- a/firmware/43439A0_clm.bin +++ b/cyw43-firmware/43439A0_clm.bin | |||
| Binary files differ | |||
diff --git a/firmware/LICENSE-permissive-binary-license-1.0.txt b/cyw43-firmware/LICENSE-permissive-binary-license-1.0.txt index cbb51f9c9..cbb51f9c9 100644 --- a/firmware/LICENSE-permissive-binary-license-1.0.txt +++ b/cyw43-firmware/LICENSE-permissive-binary-license-1.0.txt | |||
diff --git a/firmware/README.md b/cyw43-firmware/README.md index 7381fdc56..7381fdc56 100644 --- a/firmware/README.md +++ b/cyw43-firmware/README.md | |||
diff --git a/cyw43-pio/Cargo.toml b/cyw43-pio/Cargo.toml index 2238f7617..a7af2c8e2 100644 --- a/cyw43-pio/Cargo.toml +++ b/cyw43-pio/Cargo.toml | |||
| @@ -9,7 +9,7 @@ edition = "2021" | |||
| 9 | overclock = [] | 9 | overclock = [] |
| 10 | 10 | ||
| 11 | [dependencies] | 11 | [dependencies] |
| 12 | cyw43 = { path = "../" } | 12 | cyw43 = { path = "../cyw43" } |
| 13 | embassy-rp = { version = "0.1.0", features = ["unstable-traits", "nightly", "unstable-pac", "time-driver"] } | 13 | embassy-rp = { version = "0.1.0", features = ["unstable-traits", "nightly", "unstable-pac", "time-driver"] } |
| 14 | pio-proc = "0.2" | 14 | pio-proc = "0.2" |
| 15 | pio = "0.2.1" | 15 | pio = "0.2.1" |
diff --git a/Cargo.toml b/cyw43/Cargo.toml index 2bb2b8d93..2bb2b8d93 100644 --- a/Cargo.toml +++ b/cyw43/Cargo.toml | |||
diff --git a/README.md b/cyw43/README.md index defea489f..defea489f 100644 --- a/README.md +++ b/cyw43/README.md | |||
diff --git a/src/bus.rs b/cyw43/src/bus.rs index e26f11120..e26f11120 100644 --- a/src/bus.rs +++ b/cyw43/src/bus.rs | |||
diff --git a/src/consts.rs b/cyw43/src/consts.rs index 1f6551589..1f6551589 100644 --- a/src/consts.rs +++ b/cyw43/src/consts.rs | |||
diff --git a/src/control.rs b/cyw43/src/control.rs index 6919d569e..6919d569e 100644 --- a/src/control.rs +++ b/cyw43/src/control.rs | |||
diff --git a/src/countries.rs b/cyw43/src/countries.rs index fa1e8cace..fa1e8cace 100644 --- a/src/countries.rs +++ b/cyw43/src/countries.rs | |||
diff --git a/src/events.rs b/cyw43/src/events.rs index a94c49a0c..a94c49a0c 100644 --- a/src/events.rs +++ b/cyw43/src/events.rs | |||
diff --git a/src/fmt.rs b/cyw43/src/fmt.rs index 5730447b3..5730447b3 100644 --- a/src/fmt.rs +++ b/cyw43/src/fmt.rs | |||
diff --git a/src/ioctl.rs b/cyw43/src/ioctl.rs index 61524c274..61524c274 100644 --- a/src/ioctl.rs +++ b/cyw43/src/ioctl.rs | |||
diff --git a/src/lib.rs b/cyw43/src/lib.rs index fd11f3674..fd11f3674 100644 --- a/src/lib.rs +++ b/cyw43/src/lib.rs | |||
diff --git a/src/nvram.rs b/cyw43/src/nvram.rs index 964a3128d..964a3128d 100644 --- a/src/nvram.rs +++ b/cyw43/src/nvram.rs | |||
diff --git a/src/runner.rs b/cyw43/src/runner.rs index 5706696b4..5706696b4 100644 --- a/src/runner.rs +++ b/cyw43/src/runner.rs | |||
diff --git a/src/structs.rs b/cyw43/src/structs.rs index 5ba633c74..5ba633c74 100644 --- a/src/structs.rs +++ b/cyw43/src/structs.rs | |||
diff --git a/examples/rpi-pico-w/Cargo.lock b/examples/rpi-pico-w/Cargo.lock new file mode 100644 index 000000000..16095835b --- /dev/null +++ b/examples/rpi-pico-w/Cargo.lock | |||
| @@ -0,0 +1,1707 @@ | |||
| 1 | # This file is automatically @generated by Cargo. | ||
| 2 | # It is not intended for manual editing. | ||
| 3 | version = 3 | ||
| 4 | |||
| 5 | [[package]] | ||
| 6 | name = "aho-corasick" | ||
| 7 | version = "1.0.1" | ||
| 8 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 9 | checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" | ||
| 10 | dependencies = [ | ||
| 11 | "memchr", | ||
| 12 | ] | ||
| 13 | |||
| 14 | [[package]] | ||
| 15 | name = "arrayvec" | ||
| 16 | version = "0.7.2" | ||
| 17 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 18 | checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" | ||
| 19 | |||
| 20 | [[package]] | ||
| 21 | name = "as-slice" | ||
| 22 | version = "0.1.5" | ||
| 23 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 24 | checksum = "45403b49e3954a4b8428a0ac21a4b7afadccf92bfd96273f1a58cd4812496ae0" | ||
| 25 | dependencies = [ | ||
| 26 | "generic-array 0.12.4", | ||
| 27 | "generic-array 0.13.3", | ||
| 28 | "generic-array 0.14.7", | ||
| 29 | "stable_deref_trait", | ||
| 30 | ] | ||
| 31 | |||
| 32 | [[package]] | ||
| 33 | name = "as-slice" | ||
| 34 | version = "0.2.1" | ||
| 35 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 36 | checksum = "516b6b4f0e40d50dcda9365d53964ec74560ad4284da2e7fc97122cd83174516" | ||
| 37 | dependencies = [ | ||
| 38 | "stable_deref_trait", | ||
| 39 | ] | ||
| 40 | |||
| 41 | [[package]] | ||
| 42 | name = "ascii-canvas" | ||
| 43 | version = "3.0.0" | ||
| 44 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 45 | checksum = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6" | ||
| 46 | dependencies = [ | ||
| 47 | "term", | ||
| 48 | ] | ||
| 49 | |||
| 50 | [[package]] | ||
| 51 | name = "atomic-polyfill" | ||
| 52 | version = "0.1.11" | ||
| 53 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 54 | checksum = "e3ff7eb3f316534d83a8a2c3d1674ace8a5a71198eba31e2e2b597833f699b28" | ||
| 55 | dependencies = [ | ||
| 56 | "critical-section 1.1.1", | ||
| 57 | ] | ||
| 58 | |||
| 59 | [[package]] | ||
| 60 | name = "atomic-polyfill" | ||
| 61 | version = "1.0.2" | ||
| 62 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 63 | checksum = "c314e70d181aa6053b26e3f7fbf86d1dfff84f816a6175b967666b3506ef7289" | ||
| 64 | dependencies = [ | ||
| 65 | "critical-section 1.1.1", | ||
| 66 | ] | ||
| 67 | |||
| 68 | [[package]] | ||
| 69 | name = "atomic-pool" | ||
| 70 | version = "1.0.1" | ||
| 71 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 72 | checksum = "58c5fc22e05ec2884db458bf307dc7b278c9428888d2b6e6fad9c0ae7804f5f6" | ||
| 73 | dependencies = [ | ||
| 74 | "as-slice 0.1.5", | ||
| 75 | "as-slice 0.2.1", | ||
| 76 | "atomic-polyfill 1.0.2", | ||
| 77 | "stable_deref_trait", | ||
| 78 | ] | ||
| 79 | |||
| 80 | [[package]] | ||
| 81 | name = "autocfg" | ||
| 82 | version = "1.1.0" | ||
| 83 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 84 | checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" | ||
| 85 | |||
| 86 | [[package]] | ||
| 87 | name = "az" | ||
| 88 | version = "1.2.1" | ||
| 89 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 90 | checksum = "7b7e4c2464d97fe331d41de9d5db0def0a96f4d823b8b32a2efd503578988973" | ||
| 91 | |||
| 92 | [[package]] | ||
| 93 | name = "bare-metal" | ||
| 94 | version = "0.2.5" | ||
| 95 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 96 | checksum = "5deb64efa5bd81e31fcd1938615a6d98c82eafcbcd787162b6f63b91d6bac5b3" | ||
| 97 | dependencies = [ | ||
| 98 | "rustc_version 0.2.3", | ||
| 99 | ] | ||
| 100 | |||
| 101 | [[package]] | ||
| 102 | name = "bare-metal" | ||
| 103 | version = "1.0.0" | ||
| 104 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 105 | checksum = "f8fe8f5a8a398345e52358e18ff07cc17a568fbca5c6f73873d3a62056309603" | ||
| 106 | |||
| 107 | [[package]] | ||
| 108 | name = "bit-set" | ||
| 109 | version = "0.5.3" | ||
| 110 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 111 | checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" | ||
| 112 | dependencies = [ | ||
| 113 | "bit-vec", | ||
| 114 | ] | ||
| 115 | |||
| 116 | [[package]] | ||
| 117 | name = "bit-vec" | ||
| 118 | version = "0.6.3" | ||
| 119 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 120 | checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" | ||
| 121 | |||
| 122 | [[package]] | ||
| 123 | name = "bitfield" | ||
| 124 | version = "0.13.2" | ||
| 125 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 126 | checksum = "46afbd2983a5d5a7bd740ccb198caf5b82f45c40c09c0eed36052d91cb92e719" | ||
| 127 | |||
| 128 | [[package]] | ||
| 129 | name = "bitflags" | ||
| 130 | version = "1.3.2" | ||
| 131 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 132 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" | ||
| 133 | |||
| 134 | [[package]] | ||
| 135 | name = "bytemuck" | ||
| 136 | version = "1.13.1" | ||
| 137 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 138 | checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" | ||
| 139 | |||
| 140 | [[package]] | ||
| 141 | name = "byteorder" | ||
| 142 | version = "1.4.3" | ||
| 143 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 144 | checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" | ||
| 145 | |||
| 146 | [[package]] | ||
| 147 | name = "cc" | ||
| 148 | version = "1.0.79" | ||
| 149 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 150 | checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" | ||
| 151 | |||
| 152 | [[package]] | ||
| 153 | name = "cfg-if" | ||
| 154 | version = "1.0.0" | ||
| 155 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 156 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" | ||
| 157 | |||
| 158 | [[package]] | ||
| 159 | name = "codespan-reporting" | ||
| 160 | version = "0.11.1" | ||
| 161 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 162 | checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" | ||
| 163 | dependencies = [ | ||
| 164 | "termcolor", | ||
| 165 | "unicode-width", | ||
| 166 | ] | ||
| 167 | |||
| 168 | [[package]] | ||
| 169 | name = "cortex-m" | ||
| 170 | version = "0.7.7" | ||
| 171 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 172 | checksum = "8ec610d8f49840a5b376c69663b6369e71f4b34484b9b2eb29fb918d92516cb9" | ||
| 173 | dependencies = [ | ||
| 174 | "bare-metal 0.2.5", | ||
| 175 | "bitfield", | ||
| 176 | "critical-section 1.1.1", | ||
| 177 | "embedded-hal 0.2.7", | ||
| 178 | "volatile-register", | ||
| 179 | ] | ||
| 180 | |||
| 181 | [[package]] | ||
| 182 | name = "cortex-m-rt" | ||
| 183 | version = "0.7.3" | ||
| 184 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 185 | checksum = "ee84e813d593101b1723e13ec38b6ab6abbdbaaa4546553f5395ed274079ddb1" | ||
| 186 | dependencies = [ | ||
| 187 | "cortex-m-rt-macros", | ||
| 188 | ] | ||
| 189 | |||
| 190 | [[package]] | ||
| 191 | name = "cortex-m-rt-macros" | ||
| 192 | version = "0.7.0" | ||
| 193 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 194 | checksum = "f0f6f3e36f203cfedbc78b357fb28730aa2c6dc1ab060ee5c2405e843988d3c7" | ||
| 195 | dependencies = [ | ||
| 196 | "proc-macro2", | ||
| 197 | "quote", | ||
| 198 | "syn 1.0.109", | ||
| 199 | ] | ||
| 200 | |||
| 201 | [[package]] | ||
| 202 | name = "crc-any" | ||
| 203 | version = "2.4.3" | ||
| 204 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 205 | checksum = "774646b687f63643eb0f4bf13dc263cb581c8c9e57973b6ddf78bda3994d88df" | ||
| 206 | dependencies = [ | ||
| 207 | "debug-helper", | ||
| 208 | ] | ||
| 209 | |||
| 210 | [[package]] | ||
| 211 | name = "critical-section" | ||
| 212 | version = "0.2.8" | ||
| 213 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 214 | checksum = "c1706d332edc22aef4d9f23a6bb1c92360a403013c291af51247a737472dcae6" | ||
| 215 | dependencies = [ | ||
| 216 | "bare-metal 1.0.0", | ||
| 217 | "critical-section 1.1.1", | ||
| 218 | ] | ||
| 219 | |||
| 220 | [[package]] | ||
| 221 | name = "critical-section" | ||
| 222 | version = "1.1.1" | ||
| 223 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 224 | checksum = "6548a0ad5d2549e111e1f6a11a6c2e2d00ce6a3dafe22948d67c2b443f775e52" | ||
| 225 | |||
| 226 | [[package]] | ||
| 227 | name = "crunchy" | ||
| 228 | version = "0.2.2" | ||
| 229 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 230 | checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" | ||
| 231 | |||
| 232 | [[package]] | ||
| 233 | name = "cyw43" | ||
| 234 | version = "0.1.0" | ||
| 235 | dependencies = [ | ||
| 236 | "atomic-polyfill 0.1.11", | ||
| 237 | "cortex-m", | ||
| 238 | "cortex-m-rt", | ||
| 239 | "defmt", | ||
| 240 | "embassy-futures", | ||
| 241 | "embassy-net-driver-channel", | ||
| 242 | "embassy-sync", | ||
| 243 | "embassy-time", | ||
| 244 | "embedded-hal 1.0.0-alpha.10", | ||
| 245 | "futures", | ||
| 246 | "num_enum", | ||
| 247 | ] | ||
| 248 | |||
| 249 | [[package]] | ||
| 250 | name = "cyw43-example-rpi-pico-w" | ||
| 251 | version = "0.1.0" | ||
| 252 | dependencies = [ | ||
| 253 | "atomic-polyfill 0.1.11", | ||
| 254 | "cortex-m", | ||
| 255 | "cortex-m-rt", | ||
| 256 | "cyw43", | ||
| 257 | "cyw43-pio", | ||
| 258 | "defmt", | ||
| 259 | "defmt-rtt", | ||
| 260 | "embassy-executor", | ||
| 261 | "embassy-net", | ||
| 262 | "embassy-rp", | ||
| 263 | "embassy-time", | ||
| 264 | "embedded-io", | ||
| 265 | "futures", | ||
| 266 | "heapless", | ||
| 267 | "panic-probe", | ||
| 268 | "static_cell", | ||
| 269 | ] | ||
| 270 | |||
| 271 | [[package]] | ||
| 272 | name = "cyw43-pio" | ||
| 273 | version = "0.1.0" | ||
| 274 | dependencies = [ | ||
| 275 | "cyw43", | ||
| 276 | "defmt", | ||
| 277 | "embassy-rp", | ||
| 278 | "fixed", | ||
| 279 | "pio", | ||
| 280 | "pio-proc", | ||
| 281 | ] | ||
| 282 | |||
| 283 | [[package]] | ||
| 284 | name = "darling" | ||
| 285 | version = "0.13.4" | ||
| 286 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 287 | checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" | ||
| 288 | dependencies = [ | ||
| 289 | "darling_core", | ||
| 290 | "darling_macro", | ||
| 291 | ] | ||
| 292 | |||
| 293 | [[package]] | ||
| 294 | name = "darling_core" | ||
| 295 | version = "0.13.4" | ||
| 296 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 297 | checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" | ||
| 298 | dependencies = [ | ||
| 299 | "fnv", | ||
| 300 | "ident_case", | ||
| 301 | "proc-macro2", | ||
| 302 | "quote", | ||
| 303 | "strsim", | ||
| 304 | "syn 1.0.109", | ||
| 305 | ] | ||
| 306 | |||
| 307 | [[package]] | ||
| 308 | name = "darling_macro" | ||
| 309 | version = "0.13.4" | ||
| 310 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 311 | checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" | ||
| 312 | dependencies = [ | ||
| 313 | "darling_core", | ||
| 314 | "quote", | ||
| 315 | "syn 1.0.109", | ||
| 316 | ] | ||
| 317 | |||
| 318 | [[package]] | ||
| 319 | name = "debug-helper" | ||
| 320 | version = "0.3.13" | ||
| 321 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 322 | checksum = "f578e8e2c440e7297e008bb5486a3a8a194775224bbc23729b0dbdfaeebf162e" | ||
| 323 | |||
| 324 | [[package]] | ||
| 325 | name = "defmt" | ||
| 326 | version = "0.3.4" | ||
| 327 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 328 | checksum = "956673bd3cb347512bf988d1e8d89ac9a82b64f6eec54d3c01c3529dac019882" | ||
| 329 | dependencies = [ | ||
| 330 | "bitflags", | ||
| 331 | "defmt-macros", | ||
| 332 | ] | ||
| 333 | |||
| 334 | [[package]] | ||
| 335 | name = "defmt-macros" | ||
| 336 | version = "0.3.5" | ||
| 337 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 338 | checksum = "b4abc4821bd84d3d8f49945ddb24d029be9385ed9b77c99bf2f6296847a6a9f0" | ||
| 339 | dependencies = [ | ||
| 340 | "defmt-parser", | ||
| 341 | "proc-macro-error", | ||
| 342 | "proc-macro2", | ||
| 343 | "quote", | ||
| 344 | "syn 1.0.109", | ||
| 345 | ] | ||
| 346 | |||
| 347 | [[package]] | ||
| 348 | name = "defmt-parser" | ||
| 349 | version = "0.3.3" | ||
| 350 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 351 | checksum = "269924c02afd7f94bc4cecbfa5c379f6ffcf9766b3408fe63d22c728654eccd0" | ||
| 352 | dependencies = [ | ||
| 353 | "thiserror", | ||
| 354 | ] | ||
| 355 | |||
| 356 | [[package]] | ||
| 357 | name = "defmt-rtt" | ||
| 358 | version = "0.3.2" | ||
| 359 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 360 | checksum = "1d2cbbbd58847d508d97629b32cd9730a2d28532f71e219714614406029f18b1" | ||
| 361 | dependencies = [ | ||
| 362 | "critical-section 0.2.8", | ||
| 363 | "defmt", | ||
| 364 | ] | ||
| 365 | |||
| 366 | [[package]] | ||
| 367 | name = "diff" | ||
| 368 | version = "0.1.13" | ||
| 369 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 370 | checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" | ||
| 371 | |||
| 372 | [[package]] | ||
| 373 | name = "dirs-next" | ||
| 374 | version = "2.0.0" | ||
| 375 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 376 | checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" | ||
| 377 | dependencies = [ | ||
| 378 | "cfg-if", | ||
| 379 | "dirs-sys-next", | ||
| 380 | ] | ||
| 381 | |||
| 382 | [[package]] | ||
| 383 | name = "dirs-sys-next" | ||
| 384 | version = "0.1.2" | ||
| 385 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 386 | checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" | ||
| 387 | dependencies = [ | ||
| 388 | "libc", | ||
| 389 | "redox_users", | ||
| 390 | "winapi", | ||
| 391 | ] | ||
| 392 | |||
| 393 | [[package]] | ||
| 394 | name = "either" | ||
| 395 | version = "1.8.1" | ||
| 396 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 397 | checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" | ||
| 398 | |||
| 399 | [[package]] | ||
| 400 | name = "embassy-cortex-m" | ||
| 401 | version = "0.1.0" | ||
| 402 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 403 | dependencies = [ | ||
| 404 | "atomic-polyfill 1.0.2", | ||
| 405 | "cfg-if", | ||
| 406 | "cortex-m", | ||
| 407 | "critical-section 1.1.1", | ||
| 408 | "embassy-executor", | ||
| 409 | "embassy-hal-common", | ||
| 410 | "embassy-macros", | ||
| 411 | "embassy-sync", | ||
| 412 | ] | ||
| 413 | |||
| 414 | [[package]] | ||
| 415 | name = "embassy-embedded-hal" | ||
| 416 | version = "0.1.0" | ||
| 417 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 418 | dependencies = [ | ||
| 419 | "embassy-sync", | ||
| 420 | "embedded-hal 0.2.7", | ||
| 421 | "embedded-hal 1.0.0-alpha.10", | ||
| 422 | "embedded-hal-async", | ||
| 423 | "embedded-storage", | ||
| 424 | "embedded-storage-async", | ||
| 425 | "nb 1.1.0", | ||
| 426 | ] | ||
| 427 | |||
| 428 | [[package]] | ||
| 429 | name = "embassy-executor" | ||
| 430 | version = "0.2.0" | ||
| 431 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 432 | dependencies = [ | ||
| 433 | "atomic-polyfill 1.0.2", | ||
| 434 | "cortex-m", | ||
| 435 | "critical-section 1.1.1", | ||
| 436 | "defmt", | ||
| 437 | "embassy-macros", | ||
| 438 | "embassy-time", | ||
| 439 | "futures-util", | ||
| 440 | "static_cell", | ||
| 441 | ] | ||
| 442 | |||
| 443 | [[package]] | ||
| 444 | name = "embassy-futures" | ||
| 445 | version = "0.1.0" | ||
| 446 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 447 | |||
| 448 | [[package]] | ||
| 449 | name = "embassy-hal-common" | ||
| 450 | version = "0.1.0" | ||
| 451 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 452 | dependencies = [ | ||
| 453 | "defmt", | ||
| 454 | "num-traits", | ||
| 455 | ] | ||
| 456 | |||
| 457 | [[package]] | ||
| 458 | name = "embassy-macros" | ||
| 459 | version = "0.2.0" | ||
| 460 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 461 | dependencies = [ | ||
| 462 | "darling", | ||
| 463 | "proc-macro2", | ||
| 464 | "quote", | ||
| 465 | "syn 1.0.109", | ||
| 466 | ] | ||
| 467 | |||
| 468 | [[package]] | ||
| 469 | name = "embassy-net" | ||
| 470 | version = "0.1.0" | ||
| 471 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 472 | dependencies = [ | ||
| 473 | "as-slice 0.2.1", | ||
| 474 | "atomic-polyfill 1.0.2", | ||
| 475 | "atomic-pool", | ||
| 476 | "defmt", | ||
| 477 | "embassy-hal-common", | ||
| 478 | "embassy-net-driver", | ||
| 479 | "embassy-sync", | ||
| 480 | "embassy-time", | ||
| 481 | "embedded-io", | ||
| 482 | "embedded-nal-async", | ||
| 483 | "futures", | ||
| 484 | "generic-array 0.14.7", | ||
| 485 | "heapless", | ||
| 486 | "managed", | ||
| 487 | "smoltcp", | ||
| 488 | "stable_deref_trait", | ||
| 489 | ] | ||
| 490 | |||
| 491 | [[package]] | ||
| 492 | name = "embassy-net-driver" | ||
| 493 | version = "0.1.0" | ||
| 494 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 495 | dependencies = [ | ||
| 496 | "defmt", | ||
| 497 | ] | ||
| 498 | |||
| 499 | [[package]] | ||
| 500 | name = "embassy-net-driver-channel" | ||
| 501 | version = "0.1.0" | ||
| 502 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 503 | dependencies = [ | ||
| 504 | "embassy-futures", | ||
| 505 | "embassy-net-driver", | ||
| 506 | "embassy-sync", | ||
| 507 | ] | ||
| 508 | |||
| 509 | [[package]] | ||
| 510 | name = "embassy-rp" | ||
| 511 | version = "0.1.0" | ||
| 512 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 513 | dependencies = [ | ||
| 514 | "atomic-polyfill 1.0.2", | ||
| 515 | "cfg-if", | ||
| 516 | "cortex-m", | ||
| 517 | "cortex-m-rt", | ||
| 518 | "critical-section 1.1.1", | ||
| 519 | "defmt", | ||
| 520 | "embassy-cortex-m", | ||
| 521 | "embassy-embedded-hal", | ||
| 522 | "embassy-executor", | ||
| 523 | "embassy-futures", | ||
| 524 | "embassy-hal-common", | ||
| 525 | "embassy-sync", | ||
| 526 | "embassy-time", | ||
| 527 | "embassy-usb-driver", | ||
| 528 | "embedded-hal 0.2.7", | ||
| 529 | "embedded-hal 1.0.0-alpha.10", | ||
| 530 | "embedded-hal-async", | ||
| 531 | "embedded-hal-nb", | ||
| 532 | "embedded-io", | ||
| 533 | "embedded-storage", | ||
| 534 | "fixed", | ||
| 535 | "futures", | ||
| 536 | "nb 1.1.0", | ||
| 537 | "paste", | ||
| 538 | "pio", | ||
| 539 | "pio-proc", | ||
| 540 | "rand_core", | ||
| 541 | "rp-pac", | ||
| 542 | "rp2040-boot2", | ||
| 543 | ] | ||
| 544 | |||
| 545 | [[package]] | ||
| 546 | name = "embassy-sync" | ||
| 547 | version = "0.2.0" | ||
| 548 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 549 | dependencies = [ | ||
| 550 | "cfg-if", | ||
| 551 | "critical-section 1.1.1", | ||
| 552 | "embedded-io", | ||
| 553 | "futures-util", | ||
| 554 | "heapless", | ||
| 555 | ] | ||
| 556 | |||
| 557 | [[package]] | ||
| 558 | name = "embassy-time" | ||
| 559 | version = "0.1.1" | ||
| 560 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 561 | dependencies = [ | ||
| 562 | "atomic-polyfill 1.0.2", | ||
| 563 | "cfg-if", | ||
| 564 | "critical-section 1.1.1", | ||
| 565 | "defmt", | ||
| 566 | "embedded-hal 0.2.7", | ||
| 567 | "futures-util", | ||
| 568 | "heapless", | ||
| 569 | ] | ||
| 570 | |||
| 571 | [[package]] | ||
| 572 | name = "embassy-usb-driver" | ||
| 573 | version = "0.1.0" | ||
| 574 | source = "git+https://github.com/embassy-rs/embassy?rev=82f7e104d90a6628d1873017ea5ef6a7afb3b3f7#82f7e104d90a6628d1873017ea5ef6a7afb3b3f7" | ||
| 575 | dependencies = [ | ||
| 576 | "defmt", | ||
| 577 | ] | ||
| 578 | |||
| 579 | [[package]] | ||
| 580 | name = "embedded-hal" | ||
| 581 | version = "0.2.7" | ||
| 582 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 583 | checksum = "35949884794ad573cf46071e41c9b60efb0cb311e3ca01f7af807af1debc66ff" | ||
| 584 | dependencies = [ | ||
| 585 | "nb 0.1.3", | ||
| 586 | "void", | ||
| 587 | ] | ||
| 588 | |||
| 589 | [[package]] | ||
| 590 | name = "embedded-hal" | ||
| 591 | version = "1.0.0-alpha.10" | ||
| 592 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 593 | checksum = "f65c4d073f5d91c66e629b216818a4c9747eeda0debedf2deda9a0a947e4e93b" | ||
| 594 | |||
| 595 | [[package]] | ||
| 596 | name = "embedded-hal-async" | ||
| 597 | version = "0.2.0-alpha.1" | ||
| 598 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 599 | checksum = "8042370aa7af48de36d5312cda14c18ed8ca6b7ce64f5a07832fedc9dc83063f" | ||
| 600 | dependencies = [ | ||
| 601 | "embedded-hal 1.0.0-alpha.10", | ||
| 602 | ] | ||
| 603 | |||
| 604 | [[package]] | ||
| 605 | name = "embedded-hal-nb" | ||
| 606 | version = "1.0.0-alpha.2" | ||
| 607 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 608 | checksum = "1465fffd56a95bbc105c17965bca1c1d5815027b1cc6bb183bc05d04563d065c" | ||
| 609 | dependencies = [ | ||
| 610 | "embedded-hal 1.0.0-alpha.10", | ||
| 611 | "nb 1.1.0", | ||
| 612 | ] | ||
| 613 | |||
| 614 | [[package]] | ||
| 615 | name = "embedded-io" | ||
| 616 | version = "0.4.0" | ||
| 617 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 618 | checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" | ||
| 619 | dependencies = [ | ||
| 620 | "defmt", | ||
| 621 | ] | ||
| 622 | |||
| 623 | [[package]] | ||
| 624 | name = "embedded-nal" | ||
| 625 | version = "0.6.0" | ||
| 626 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 627 | checksum = "db9efecb57ab54fa918730f2874d7d37647169c50fa1357fecb81abee840b113" | ||
| 628 | dependencies = [ | ||
| 629 | "heapless", | ||
| 630 | "nb 1.1.0", | ||
| 631 | "no-std-net 0.5.0", | ||
| 632 | ] | ||
| 633 | |||
| 634 | [[package]] | ||
| 635 | name = "embedded-nal-async" | ||
| 636 | version = "0.4.0" | ||
| 637 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 638 | checksum = "27ce84f518ca912777ec143db235f4d615e3bf8d4e46d507d6ef12daf5b1df98" | ||
| 639 | dependencies = [ | ||
| 640 | "embedded-io", | ||
| 641 | "embedded-nal", | ||
| 642 | "heapless", | ||
| 643 | "no-std-net 0.6.0", | ||
| 644 | ] | ||
| 645 | |||
| 646 | [[package]] | ||
| 647 | name = "embedded-storage" | ||
| 648 | version = "0.3.0" | ||
| 649 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 650 | checksum = "156d7a2fdd98ebbf9ae579cbceca3058cff946e13f8e17b90e3511db0508c723" | ||
| 651 | |||
| 652 | [[package]] | ||
| 653 | name = "embedded-storage-async" | ||
| 654 | version = "0.4.0" | ||
| 655 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 656 | checksum = "052997a894670d0cde873faa7405bc98e2fd29f569d2acd568561bc1c396b35a" | ||
| 657 | dependencies = [ | ||
| 658 | "embedded-storage", | ||
| 659 | ] | ||
| 660 | |||
| 661 | [[package]] | ||
| 662 | name = "ena" | ||
| 663 | version = "0.14.2" | ||
| 664 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 665 | checksum = "c533630cf40e9caa44bd91aadc88a75d75a4c3a12b4cfde353cbed41daa1e1f1" | ||
| 666 | dependencies = [ | ||
| 667 | "log", | ||
| 668 | ] | ||
| 669 | |||
| 670 | [[package]] | ||
| 671 | name = "errno" | ||
| 672 | version = "0.3.1" | ||
| 673 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 674 | checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" | ||
| 675 | dependencies = [ | ||
| 676 | "errno-dragonfly", | ||
| 677 | "libc", | ||
| 678 | "windows-sys 0.48.0", | ||
| 679 | ] | ||
| 680 | |||
| 681 | [[package]] | ||
| 682 | name = "errno-dragonfly" | ||
| 683 | version = "0.1.2" | ||
| 684 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 685 | checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" | ||
| 686 | dependencies = [ | ||
| 687 | "cc", | ||
| 688 | "libc", | ||
| 689 | ] | ||
| 690 | |||
| 691 | [[package]] | ||
| 692 | name = "fixed" | ||
| 693 | version = "1.23.1" | ||
| 694 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 695 | checksum = "79386fdcec5e0fde91b1a6a5bcd89677d1f9304f7f986b154a1b9109038854d9" | ||
| 696 | dependencies = [ | ||
| 697 | "az", | ||
| 698 | "bytemuck", | ||
| 699 | "half", | ||
| 700 | "typenum", | ||
| 701 | ] | ||
| 702 | |||
| 703 | [[package]] | ||
| 704 | name = "fixedbitset" | ||
| 705 | version = "0.4.2" | ||
| 706 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 707 | checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" | ||
| 708 | |||
| 709 | [[package]] | ||
| 710 | name = "fnv" | ||
| 711 | version = "1.0.7" | ||
| 712 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 713 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" | ||
| 714 | |||
| 715 | [[package]] | ||
| 716 | name = "futures" | ||
| 717 | version = "0.3.28" | ||
| 718 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 719 | checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" | ||
| 720 | dependencies = [ | ||
| 721 | "futures-channel", | ||
| 722 | "futures-core", | ||
| 723 | "futures-io", | ||
| 724 | "futures-sink", | ||
| 725 | "futures-task", | ||
| 726 | "futures-util", | ||
| 727 | ] | ||
| 728 | |||
| 729 | [[package]] | ||
| 730 | name = "futures-channel" | ||
| 731 | version = "0.3.28" | ||
| 732 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 733 | checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" | ||
| 734 | dependencies = [ | ||
| 735 | "futures-core", | ||
| 736 | "futures-sink", | ||
| 737 | ] | ||
| 738 | |||
| 739 | [[package]] | ||
| 740 | name = "futures-core" | ||
| 741 | version = "0.3.28" | ||
| 742 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 743 | checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" | ||
| 744 | |||
| 745 | [[package]] | ||
| 746 | name = "futures-io" | ||
| 747 | version = "0.3.28" | ||
| 748 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 749 | checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" | ||
| 750 | |||
| 751 | [[package]] | ||
| 752 | name = "futures-macro" | ||
| 753 | version = "0.3.28" | ||
| 754 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 755 | checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" | ||
| 756 | dependencies = [ | ||
| 757 | "proc-macro2", | ||
| 758 | "quote", | ||
| 759 | "syn 2.0.18", | ||
| 760 | ] | ||
| 761 | |||
| 762 | [[package]] | ||
| 763 | name = "futures-sink" | ||
| 764 | version = "0.3.28" | ||
| 765 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 766 | checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" | ||
| 767 | |||
| 768 | [[package]] | ||
| 769 | name = "futures-task" | ||
| 770 | version = "0.3.28" | ||
| 771 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 772 | checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" | ||
| 773 | |||
| 774 | [[package]] | ||
| 775 | name = "futures-util" | ||
| 776 | version = "0.3.28" | ||
| 777 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 778 | checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" | ||
| 779 | dependencies = [ | ||
| 780 | "futures-core", | ||
| 781 | "futures-macro", | ||
| 782 | "futures-sink", | ||
| 783 | "futures-task", | ||
| 784 | "pin-project-lite", | ||
| 785 | "pin-utils", | ||
| 786 | ] | ||
| 787 | |||
| 788 | [[package]] | ||
| 789 | name = "generic-array" | ||
| 790 | version = "0.12.4" | ||
| 791 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 792 | checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" | ||
| 793 | dependencies = [ | ||
| 794 | "typenum", | ||
| 795 | ] | ||
| 796 | |||
| 797 | [[package]] | ||
| 798 | name = "generic-array" | ||
| 799 | version = "0.13.3" | ||
| 800 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 801 | checksum = "f797e67af32588215eaaab8327027ee8e71b9dd0b2b26996aedf20c030fce309" | ||
| 802 | dependencies = [ | ||
| 803 | "typenum", | ||
| 804 | ] | ||
| 805 | |||
| 806 | [[package]] | ||
| 807 | name = "generic-array" | ||
| 808 | version = "0.14.7" | ||
| 809 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 810 | checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" | ||
| 811 | dependencies = [ | ||
| 812 | "typenum", | ||
| 813 | "version_check", | ||
| 814 | ] | ||
| 815 | |||
| 816 | [[package]] | ||
| 817 | name = "getrandom" | ||
| 818 | version = "0.2.9" | ||
| 819 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 820 | checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" | ||
| 821 | dependencies = [ | ||
| 822 | "cfg-if", | ||
| 823 | "libc", | ||
| 824 | "wasi", | ||
| 825 | ] | ||
| 826 | |||
| 827 | [[package]] | ||
| 828 | name = "half" | ||
| 829 | version = "2.2.1" | ||
| 830 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 831 | checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0" | ||
| 832 | dependencies = [ | ||
| 833 | "crunchy", | ||
| 834 | ] | ||
| 835 | |||
| 836 | [[package]] | ||
| 837 | name = "hash32" | ||
| 838 | version = "0.2.1" | ||
| 839 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 840 | checksum = "b0c35f58762feb77d74ebe43bdbc3210f09be9fe6742234d573bacc26ed92b67" | ||
| 841 | dependencies = [ | ||
| 842 | "byteorder", | ||
| 843 | ] | ||
| 844 | |||
| 845 | [[package]] | ||
| 846 | name = "hashbrown" | ||
| 847 | version = "0.12.3" | ||
| 848 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 849 | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" | ||
| 850 | |||
| 851 | [[package]] | ||
| 852 | name = "heapless" | ||
| 853 | version = "0.7.16" | ||
| 854 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 855 | checksum = "db04bc24a18b9ea980628ecf00e6c0264f3c1426dac36c00cb49b6fbad8b0743" | ||
| 856 | dependencies = [ | ||
| 857 | "atomic-polyfill 0.1.11", | ||
| 858 | "defmt", | ||
| 859 | "hash32", | ||
| 860 | "rustc_version 0.4.0", | ||
| 861 | "spin", | ||
| 862 | "stable_deref_trait", | ||
| 863 | ] | ||
| 864 | |||
| 865 | [[package]] | ||
| 866 | name = "hermit-abi" | ||
| 867 | version = "0.3.1" | ||
| 868 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 869 | checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" | ||
| 870 | |||
| 871 | [[package]] | ||
| 872 | name = "ident_case" | ||
| 873 | version = "1.0.1" | ||
| 874 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 875 | checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" | ||
| 876 | |||
| 877 | [[package]] | ||
| 878 | name = "indexmap" | ||
| 879 | version = "1.9.3" | ||
| 880 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 881 | checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" | ||
| 882 | dependencies = [ | ||
| 883 | "autocfg", | ||
| 884 | "hashbrown", | ||
| 885 | ] | ||
| 886 | |||
| 887 | [[package]] | ||
| 888 | name = "io-lifetimes" | ||
| 889 | version = "1.0.11" | ||
| 890 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 891 | checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" | ||
| 892 | dependencies = [ | ||
| 893 | "hermit-abi", | ||
| 894 | "libc", | ||
| 895 | "windows-sys 0.48.0", | ||
| 896 | ] | ||
| 897 | |||
| 898 | [[package]] | ||
| 899 | name = "is-terminal" | ||
| 900 | version = "0.4.7" | ||
| 901 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 902 | checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" | ||
| 903 | dependencies = [ | ||
| 904 | "hermit-abi", | ||
| 905 | "io-lifetimes", | ||
| 906 | "rustix", | ||
| 907 | "windows-sys 0.48.0", | ||
| 908 | ] | ||
| 909 | |||
| 910 | [[package]] | ||
| 911 | name = "itertools" | ||
| 912 | version = "0.10.5" | ||
| 913 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 914 | checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" | ||
| 915 | dependencies = [ | ||
| 916 | "either", | ||
| 917 | ] | ||
| 918 | |||
| 919 | [[package]] | ||
| 920 | name = "lalrpop" | ||
| 921 | version = "0.19.12" | ||
| 922 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 923 | checksum = "0a1cbf952127589f2851ab2046af368fd20645491bb4b376f04b7f94d7a9837b" | ||
| 924 | dependencies = [ | ||
| 925 | "ascii-canvas", | ||
| 926 | "bit-set", | ||
| 927 | "diff", | ||
| 928 | "ena", | ||
| 929 | "is-terminal", | ||
| 930 | "itertools", | ||
| 931 | "lalrpop-util", | ||
| 932 | "petgraph", | ||
| 933 | "regex", | ||
| 934 | "regex-syntax 0.6.29", | ||
| 935 | "string_cache", | ||
| 936 | "term", | ||
| 937 | "tiny-keccak", | ||
| 938 | "unicode-xid", | ||
| 939 | ] | ||
| 940 | |||
| 941 | [[package]] | ||
| 942 | name = "lalrpop-util" | ||
| 943 | version = "0.19.12" | ||
| 944 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 945 | checksum = "d3c48237b9604c5a4702de6b824e02006c3214327564636aef27c1028a8fa0ed" | ||
| 946 | dependencies = [ | ||
| 947 | "regex", | ||
| 948 | ] | ||
| 949 | |||
| 950 | [[package]] | ||
| 951 | name = "libc" | ||
| 952 | version = "0.2.144" | ||
| 953 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 954 | checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" | ||
| 955 | |||
| 956 | [[package]] | ||
| 957 | name = "linux-raw-sys" | ||
| 958 | version = "0.3.8" | ||
| 959 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 960 | checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" | ||
| 961 | |||
| 962 | [[package]] | ||
| 963 | name = "lock_api" | ||
| 964 | version = "0.4.9" | ||
| 965 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 966 | checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" | ||
| 967 | dependencies = [ | ||
| 968 | "autocfg", | ||
| 969 | "scopeguard", | ||
| 970 | ] | ||
| 971 | |||
| 972 | [[package]] | ||
| 973 | name = "log" | ||
| 974 | version = "0.4.18" | ||
| 975 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 976 | checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de" | ||
| 977 | |||
| 978 | [[package]] | ||
| 979 | name = "managed" | ||
| 980 | version = "0.8.0" | ||
| 981 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 982 | checksum = "0ca88d725a0a943b096803bd34e73a4437208b6077654cc4ecb2947a5f91618d" | ||
| 983 | |||
| 984 | [[package]] | ||
| 985 | name = "memchr" | ||
| 986 | version = "2.5.0" | ||
| 987 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 988 | checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" | ||
| 989 | |||
| 990 | [[package]] | ||
| 991 | name = "nb" | ||
| 992 | version = "0.1.3" | ||
| 993 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 994 | checksum = "801d31da0513b6ec5214e9bf433a77966320625a37860f910be265be6e18d06f" | ||
| 995 | dependencies = [ | ||
| 996 | "nb 1.1.0", | ||
| 997 | ] | ||
| 998 | |||
| 999 | [[package]] | ||
| 1000 | name = "nb" | ||
| 1001 | version = "1.1.0" | ||
| 1002 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1003 | checksum = "8d5439c4ad607c3c23abf66de8c8bf57ba8adcd1f129e699851a6e43935d339d" | ||
| 1004 | |||
| 1005 | [[package]] | ||
| 1006 | name = "new_debug_unreachable" | ||
| 1007 | version = "1.0.4" | ||
| 1008 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1009 | checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" | ||
| 1010 | |||
| 1011 | [[package]] | ||
| 1012 | name = "no-std-net" | ||
| 1013 | version = "0.5.0" | ||
| 1014 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1015 | checksum = "1bcece43b12349917e096cddfa66107277f123e6c96a5aea78711dc601a47152" | ||
| 1016 | |||
| 1017 | [[package]] | ||
| 1018 | name = "no-std-net" | ||
| 1019 | version = "0.6.0" | ||
| 1020 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1021 | checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" | ||
| 1022 | |||
| 1023 | [[package]] | ||
| 1024 | name = "num-traits" | ||
| 1025 | version = "0.2.15" | ||
| 1026 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1027 | checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" | ||
| 1028 | dependencies = [ | ||
| 1029 | "autocfg", | ||
| 1030 | ] | ||
| 1031 | |||
| 1032 | [[package]] | ||
| 1033 | name = "num_enum" | ||
| 1034 | version = "0.5.11" | ||
| 1035 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1036 | checksum = "1f646caf906c20226733ed5b1374287eb97e3c2a5c227ce668c1f2ce20ae57c9" | ||
| 1037 | dependencies = [ | ||
| 1038 | "num_enum_derive", | ||
| 1039 | ] | ||
| 1040 | |||
| 1041 | [[package]] | ||
| 1042 | name = "num_enum_derive" | ||
| 1043 | version = "0.5.11" | ||
| 1044 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1045 | checksum = "dcbff9bc912032c62bf65ef1d5aea88983b420f4f839db1e9b0c281a25c9c799" | ||
| 1046 | dependencies = [ | ||
| 1047 | "proc-macro2", | ||
| 1048 | "quote", | ||
| 1049 | "syn 1.0.109", | ||
| 1050 | ] | ||
| 1051 | |||
| 1052 | [[package]] | ||
| 1053 | name = "once_cell" | ||
| 1054 | version = "1.17.2" | ||
| 1055 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1056 | checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b" | ||
| 1057 | |||
| 1058 | [[package]] | ||
| 1059 | name = "panic-probe" | ||
| 1060 | version = "0.3.1" | ||
| 1061 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1062 | checksum = "aa6fa5645ef5a760cd340eaa92af9c1ce131c8c09e7f8926d8a24b59d26652b9" | ||
| 1063 | dependencies = [ | ||
| 1064 | "cortex-m", | ||
| 1065 | "defmt", | ||
| 1066 | ] | ||
| 1067 | |||
| 1068 | [[package]] | ||
| 1069 | name = "parking_lot" | ||
| 1070 | version = "0.12.1" | ||
| 1071 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1072 | checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" | ||
| 1073 | dependencies = [ | ||
| 1074 | "lock_api", | ||
| 1075 | "parking_lot_core", | ||
| 1076 | ] | ||
| 1077 | |||
| 1078 | [[package]] | ||
| 1079 | name = "parking_lot_core" | ||
| 1080 | version = "0.9.7" | ||
| 1081 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1082 | checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" | ||
| 1083 | dependencies = [ | ||
| 1084 | "cfg-if", | ||
| 1085 | "libc", | ||
| 1086 | "redox_syscall", | ||
| 1087 | "smallvec", | ||
| 1088 | "windows-sys 0.45.0", | ||
| 1089 | ] | ||
| 1090 | |||
| 1091 | [[package]] | ||
| 1092 | name = "paste" | ||
| 1093 | version = "1.0.12" | ||
| 1094 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1095 | checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" | ||
| 1096 | |||
| 1097 | [[package]] | ||
| 1098 | name = "petgraph" | ||
| 1099 | version = "0.6.3" | ||
| 1100 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1101 | checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" | ||
| 1102 | dependencies = [ | ||
| 1103 | "fixedbitset", | ||
| 1104 | "indexmap", | ||
| 1105 | ] | ||
| 1106 | |||
| 1107 | [[package]] | ||
| 1108 | name = "phf_shared" | ||
| 1109 | version = "0.10.0" | ||
| 1110 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1111 | checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" | ||
| 1112 | dependencies = [ | ||
| 1113 | "siphasher", | ||
| 1114 | ] | ||
| 1115 | |||
| 1116 | [[package]] | ||
| 1117 | name = "pin-project-lite" | ||
| 1118 | version = "0.2.9" | ||
| 1119 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1120 | checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" | ||
| 1121 | |||
| 1122 | [[package]] | ||
| 1123 | name = "pin-utils" | ||
| 1124 | version = "0.1.0" | ||
| 1125 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1126 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" | ||
| 1127 | |||
| 1128 | [[package]] | ||
| 1129 | name = "pio" | ||
| 1130 | version = "0.2.1" | ||
| 1131 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1132 | checksum = "76e09694b50f89f302ed531c1f2a7569f0be5867aee4ab4f8f729bbeec0078e3" | ||
| 1133 | dependencies = [ | ||
| 1134 | "arrayvec", | ||
| 1135 | "num_enum", | ||
| 1136 | "paste", | ||
| 1137 | ] | ||
| 1138 | |||
| 1139 | [[package]] | ||
| 1140 | name = "pio-parser" | ||
| 1141 | version = "0.2.2" | ||
| 1142 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1143 | checksum = "77532c2b8279aef98dfc7207ef15298a5a3d6b6cc76ccc8b65913d69f3a8dd6b" | ||
| 1144 | dependencies = [ | ||
| 1145 | "lalrpop", | ||
| 1146 | "lalrpop-util", | ||
| 1147 | "pio", | ||
| 1148 | "regex-syntax 0.6.29", | ||
| 1149 | ] | ||
| 1150 | |||
| 1151 | [[package]] | ||
| 1152 | name = "pio-proc" | ||
| 1153 | version = "0.2.2" | ||
| 1154 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1155 | checksum = "6b04dc870fb3a4fd8b3e4ca8c61b53bc8ac4eb78b66805d2b3c2e5c4829e0d7a" | ||
| 1156 | dependencies = [ | ||
| 1157 | "codespan-reporting", | ||
| 1158 | "lalrpop-util", | ||
| 1159 | "pio", | ||
| 1160 | "pio-parser", | ||
| 1161 | "proc-macro-error", | ||
| 1162 | "proc-macro2", | ||
| 1163 | "quote", | ||
| 1164 | "regex-syntax 0.6.29", | ||
| 1165 | "syn 1.0.109", | ||
| 1166 | ] | ||
| 1167 | |||
| 1168 | [[package]] | ||
| 1169 | name = "precomputed-hash" | ||
| 1170 | version = "0.1.1" | ||
| 1171 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1172 | checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" | ||
| 1173 | |||
| 1174 | [[package]] | ||
| 1175 | name = "proc-macro-error" | ||
| 1176 | version = "1.0.4" | ||
| 1177 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1178 | checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" | ||
| 1179 | dependencies = [ | ||
| 1180 | "proc-macro-error-attr", | ||
| 1181 | "proc-macro2", | ||
| 1182 | "quote", | ||
| 1183 | "syn 1.0.109", | ||
| 1184 | "version_check", | ||
| 1185 | ] | ||
| 1186 | |||
| 1187 | [[package]] | ||
| 1188 | name = "proc-macro-error-attr" | ||
| 1189 | version = "1.0.4" | ||
| 1190 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1191 | checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" | ||
| 1192 | dependencies = [ | ||
| 1193 | "proc-macro2", | ||
| 1194 | "quote", | ||
| 1195 | "version_check", | ||
| 1196 | ] | ||
| 1197 | |||
| 1198 | [[package]] | ||
| 1199 | name = "proc-macro2" | ||
| 1200 | version = "1.0.59" | ||
| 1201 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1202 | checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" | ||
| 1203 | dependencies = [ | ||
| 1204 | "unicode-ident", | ||
| 1205 | ] | ||
| 1206 | |||
| 1207 | [[package]] | ||
| 1208 | name = "quote" | ||
| 1209 | version = "1.0.28" | ||
| 1210 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1211 | checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" | ||
| 1212 | dependencies = [ | ||
| 1213 | "proc-macro2", | ||
| 1214 | ] | ||
| 1215 | |||
| 1216 | [[package]] | ||
| 1217 | name = "rand_core" | ||
| 1218 | version = "0.6.4" | ||
| 1219 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1220 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" | ||
| 1221 | |||
| 1222 | [[package]] | ||
| 1223 | name = "redox_syscall" | ||
| 1224 | version = "0.2.16" | ||
| 1225 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1226 | checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" | ||
| 1227 | dependencies = [ | ||
| 1228 | "bitflags", | ||
| 1229 | ] | ||
| 1230 | |||
| 1231 | [[package]] | ||
| 1232 | name = "redox_users" | ||
| 1233 | version = "0.4.3" | ||
| 1234 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1235 | checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" | ||
| 1236 | dependencies = [ | ||
| 1237 | "getrandom", | ||
| 1238 | "redox_syscall", | ||
| 1239 | "thiserror", | ||
| 1240 | ] | ||
| 1241 | |||
| 1242 | [[package]] | ||
| 1243 | name = "regex" | ||
| 1244 | version = "1.8.3" | ||
| 1245 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1246 | checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390" | ||
| 1247 | dependencies = [ | ||
| 1248 | "aho-corasick", | ||
| 1249 | "memchr", | ||
| 1250 | "regex-syntax 0.7.2", | ||
| 1251 | ] | ||
| 1252 | |||
| 1253 | [[package]] | ||
| 1254 | name = "regex-syntax" | ||
| 1255 | version = "0.6.29" | ||
| 1256 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1257 | checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" | ||
| 1258 | |||
| 1259 | [[package]] | ||
| 1260 | name = "regex-syntax" | ||
| 1261 | version = "0.7.2" | ||
| 1262 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1263 | checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" | ||
| 1264 | |||
| 1265 | [[package]] | ||
| 1266 | name = "rp-pac" | ||
| 1267 | version = "4.0.0" | ||
| 1268 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1269 | checksum = "a76e426cd8377db668fba1fe885028788b126b7cef91059cd478de8b076c2915" | ||
| 1270 | dependencies = [ | ||
| 1271 | "cortex-m", | ||
| 1272 | "cortex-m-rt", | ||
| 1273 | ] | ||
| 1274 | |||
| 1275 | [[package]] | ||
| 1276 | name = "rp2040-boot2" | ||
| 1277 | version = "0.3.0" | ||
| 1278 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1279 | checksum = "7c92f344f63f950ee36cf4080050e4dce850839b9175da38f9d2ffb69b4dbb21" | ||
| 1280 | dependencies = [ | ||
| 1281 | "crc-any", | ||
| 1282 | ] | ||
| 1283 | |||
| 1284 | [[package]] | ||
| 1285 | name = "rustc_version" | ||
| 1286 | version = "0.2.3" | ||
| 1287 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1288 | checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" | ||
| 1289 | dependencies = [ | ||
| 1290 | "semver 0.9.0", | ||
| 1291 | ] | ||
| 1292 | |||
| 1293 | [[package]] | ||
| 1294 | name = "rustc_version" | ||
| 1295 | version = "0.4.0" | ||
| 1296 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1297 | checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" | ||
| 1298 | dependencies = [ | ||
| 1299 | "semver 1.0.17", | ||
| 1300 | ] | ||
| 1301 | |||
| 1302 | [[package]] | ||
| 1303 | name = "rustix" | ||
| 1304 | version = "0.37.19" | ||
| 1305 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1306 | checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" | ||
| 1307 | dependencies = [ | ||
| 1308 | "bitflags", | ||
| 1309 | "errno", | ||
| 1310 | "io-lifetimes", | ||
| 1311 | "libc", | ||
| 1312 | "linux-raw-sys", | ||
| 1313 | "windows-sys 0.48.0", | ||
| 1314 | ] | ||
| 1315 | |||
| 1316 | [[package]] | ||
| 1317 | name = "rustversion" | ||
| 1318 | version = "1.0.12" | ||
| 1319 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1320 | checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" | ||
| 1321 | |||
| 1322 | [[package]] | ||
| 1323 | name = "scopeguard" | ||
| 1324 | version = "1.1.0" | ||
| 1325 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1326 | checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" | ||
| 1327 | |||
| 1328 | [[package]] | ||
| 1329 | name = "semver" | ||
| 1330 | version = "0.9.0" | ||
| 1331 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1332 | checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" | ||
| 1333 | dependencies = [ | ||
| 1334 | "semver-parser", | ||
| 1335 | ] | ||
| 1336 | |||
| 1337 | [[package]] | ||
| 1338 | name = "semver" | ||
| 1339 | version = "1.0.17" | ||
| 1340 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1341 | checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" | ||
| 1342 | |||
| 1343 | [[package]] | ||
| 1344 | name = "semver-parser" | ||
| 1345 | version = "0.7.0" | ||
| 1346 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1347 | checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" | ||
| 1348 | |||
| 1349 | [[package]] | ||
| 1350 | name = "siphasher" | ||
| 1351 | version = "0.3.10" | ||
| 1352 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1353 | checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" | ||
| 1354 | |||
| 1355 | [[package]] | ||
| 1356 | name = "smallvec" | ||
| 1357 | version = "1.10.0" | ||
| 1358 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1359 | checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" | ||
| 1360 | |||
| 1361 | [[package]] | ||
| 1362 | name = "smoltcp" | ||
| 1363 | version = "0.9.1" | ||
| 1364 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1365 | checksum = "7e9786ac45091b96f946693e05bfa4d8ca93e2d3341237d97a380107a6b38dea" | ||
| 1366 | dependencies = [ | ||
| 1367 | "bitflags", | ||
| 1368 | "byteorder", | ||
| 1369 | "cfg-if", | ||
| 1370 | "defmt", | ||
| 1371 | "heapless", | ||
| 1372 | "managed", | ||
| 1373 | ] | ||
| 1374 | |||
| 1375 | [[package]] | ||
| 1376 | name = "spin" | ||
| 1377 | version = "0.9.8" | ||
| 1378 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1379 | checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" | ||
| 1380 | dependencies = [ | ||
| 1381 | "lock_api", | ||
| 1382 | ] | ||
| 1383 | |||
| 1384 | [[package]] | ||
| 1385 | name = "stable_deref_trait" | ||
| 1386 | version = "1.2.0" | ||
| 1387 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1388 | checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" | ||
| 1389 | |||
| 1390 | [[package]] | ||
| 1391 | name = "static_cell" | ||
| 1392 | version = "1.0.0" | ||
| 1393 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1394 | checksum = "e4c37c250d21f53fa7165e76e5401d7e6539c211a8d2cf449e3962956a5cc2ce" | ||
| 1395 | dependencies = [ | ||
| 1396 | "atomic-polyfill 1.0.2", | ||
| 1397 | ] | ||
| 1398 | |||
| 1399 | [[package]] | ||
| 1400 | name = "string_cache" | ||
| 1401 | version = "0.8.7" | ||
| 1402 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1403 | checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" | ||
| 1404 | dependencies = [ | ||
| 1405 | "new_debug_unreachable", | ||
| 1406 | "once_cell", | ||
| 1407 | "parking_lot", | ||
| 1408 | "phf_shared", | ||
| 1409 | "precomputed-hash", | ||
| 1410 | ] | ||
| 1411 | |||
| 1412 | [[package]] | ||
| 1413 | name = "strsim" | ||
| 1414 | version = "0.10.0" | ||
| 1415 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1416 | checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" | ||
| 1417 | |||
| 1418 | [[package]] | ||
| 1419 | name = "syn" | ||
| 1420 | version = "1.0.109" | ||
| 1421 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1422 | checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" | ||
| 1423 | dependencies = [ | ||
| 1424 | "proc-macro2", | ||
| 1425 | "quote", | ||
| 1426 | "unicode-ident", | ||
| 1427 | ] | ||
| 1428 | |||
| 1429 | [[package]] | ||
| 1430 | name = "syn" | ||
| 1431 | version = "2.0.18" | ||
| 1432 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1433 | checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e" | ||
| 1434 | dependencies = [ | ||
| 1435 | "proc-macro2", | ||
| 1436 | "quote", | ||
| 1437 | "unicode-ident", | ||
| 1438 | ] | ||
| 1439 | |||
| 1440 | [[package]] | ||
| 1441 | name = "term" | ||
| 1442 | version = "0.7.0" | ||
| 1443 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1444 | checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f" | ||
| 1445 | dependencies = [ | ||
| 1446 | "dirs-next", | ||
| 1447 | "rustversion", | ||
| 1448 | "winapi", | ||
| 1449 | ] | ||
| 1450 | |||
| 1451 | [[package]] | ||
| 1452 | name = "termcolor" | ||
| 1453 | version = "1.2.0" | ||
| 1454 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1455 | checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" | ||
| 1456 | dependencies = [ | ||
| 1457 | "winapi-util", | ||
| 1458 | ] | ||
| 1459 | |||
| 1460 | [[package]] | ||
| 1461 | name = "thiserror" | ||
| 1462 | version = "1.0.40" | ||
| 1463 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1464 | checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" | ||
| 1465 | dependencies = [ | ||
| 1466 | "thiserror-impl", | ||
| 1467 | ] | ||
| 1468 | |||
| 1469 | [[package]] | ||
| 1470 | name = "thiserror-impl" | ||
| 1471 | version = "1.0.40" | ||
| 1472 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1473 | checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" | ||
| 1474 | dependencies = [ | ||
| 1475 | "proc-macro2", | ||
| 1476 | "quote", | ||
| 1477 | "syn 2.0.18", | ||
| 1478 | ] | ||
| 1479 | |||
| 1480 | [[package]] | ||
| 1481 | name = "tiny-keccak" | ||
| 1482 | version = "2.0.2" | ||
| 1483 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1484 | checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" | ||
| 1485 | dependencies = [ | ||
| 1486 | "crunchy", | ||
| 1487 | ] | ||
| 1488 | |||
| 1489 | [[package]] | ||
| 1490 | name = "typenum" | ||
| 1491 | version = "1.16.0" | ||
| 1492 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1493 | checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" | ||
| 1494 | |||
| 1495 | [[package]] | ||
| 1496 | name = "unicode-ident" | ||
| 1497 | version = "1.0.9" | ||
| 1498 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1499 | checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" | ||
| 1500 | |||
| 1501 | [[package]] | ||
| 1502 | name = "unicode-width" | ||
| 1503 | version = "0.1.10" | ||
| 1504 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1505 | checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" | ||
| 1506 | |||
| 1507 | [[package]] | ||
| 1508 | name = "unicode-xid" | ||
| 1509 | version = "0.2.4" | ||
| 1510 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1511 | checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" | ||
| 1512 | |||
| 1513 | [[package]] | ||
| 1514 | name = "vcell" | ||
| 1515 | version = "0.1.3" | ||
| 1516 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1517 | checksum = "77439c1b53d2303b20d9459b1ade71a83c716e3f9c34f3228c00e6f185d6c002" | ||
| 1518 | |||
| 1519 | [[package]] | ||
| 1520 | name = "version_check" | ||
| 1521 | version = "0.9.4" | ||
| 1522 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1523 | checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" | ||
| 1524 | |||
| 1525 | [[package]] | ||
| 1526 | name = "void" | ||
| 1527 | version = "1.0.2" | ||
| 1528 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1529 | checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" | ||
| 1530 | |||
| 1531 | [[package]] | ||
| 1532 | name = "volatile-register" | ||
| 1533 | version = "0.2.1" | ||
| 1534 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1535 | checksum = "9ee8f19f9d74293faf70901bc20ad067dc1ad390d2cbf1e3f75f721ffee908b6" | ||
| 1536 | dependencies = [ | ||
| 1537 | "vcell", | ||
| 1538 | ] | ||
| 1539 | |||
| 1540 | [[package]] | ||
| 1541 | name = "wasi" | ||
| 1542 | version = "0.11.0+wasi-snapshot-preview1" | ||
| 1543 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1544 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" | ||
| 1545 | |||
| 1546 | [[package]] | ||
| 1547 | name = "winapi" | ||
| 1548 | version = "0.3.9" | ||
| 1549 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1550 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" | ||
| 1551 | dependencies = [ | ||
| 1552 | "winapi-i686-pc-windows-gnu", | ||
| 1553 | "winapi-x86_64-pc-windows-gnu", | ||
| 1554 | ] | ||
| 1555 | |||
| 1556 | [[package]] | ||
| 1557 | name = "winapi-i686-pc-windows-gnu" | ||
| 1558 | version = "0.4.0" | ||
| 1559 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1560 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" | ||
| 1561 | |||
| 1562 | [[package]] | ||
| 1563 | name = "winapi-util" | ||
| 1564 | version = "0.1.5" | ||
| 1565 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1566 | checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" | ||
| 1567 | dependencies = [ | ||
| 1568 | "winapi", | ||
| 1569 | ] | ||
| 1570 | |||
| 1571 | [[package]] | ||
| 1572 | name = "winapi-x86_64-pc-windows-gnu" | ||
| 1573 | version = "0.4.0" | ||
| 1574 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1575 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | ||
| 1576 | |||
| 1577 | [[package]] | ||
| 1578 | name = "windows-sys" | ||
| 1579 | version = "0.45.0" | ||
| 1580 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1581 | checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" | ||
| 1582 | dependencies = [ | ||
| 1583 | "windows-targets 0.42.2", | ||
| 1584 | ] | ||
| 1585 | |||
| 1586 | [[package]] | ||
| 1587 | name = "windows-sys" | ||
| 1588 | version = "0.48.0" | ||
| 1589 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1590 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" | ||
| 1591 | dependencies = [ | ||
| 1592 | "windows-targets 0.48.0", | ||
| 1593 | ] | ||
| 1594 | |||
| 1595 | [[package]] | ||
| 1596 | name = "windows-targets" | ||
| 1597 | version = "0.42.2" | ||
| 1598 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1599 | checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" | ||
| 1600 | dependencies = [ | ||
| 1601 | "windows_aarch64_gnullvm 0.42.2", | ||
| 1602 | "windows_aarch64_msvc 0.42.2", | ||
| 1603 | "windows_i686_gnu 0.42.2", | ||
| 1604 | "windows_i686_msvc 0.42.2", | ||
| 1605 | "windows_x86_64_gnu 0.42.2", | ||
| 1606 | "windows_x86_64_gnullvm 0.42.2", | ||
| 1607 | "windows_x86_64_msvc 0.42.2", | ||
| 1608 | ] | ||
| 1609 | |||
| 1610 | [[package]] | ||
| 1611 | name = "windows-targets" | ||
| 1612 | version = "0.48.0" | ||
| 1613 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1614 | checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" | ||
| 1615 | dependencies = [ | ||
| 1616 | "windows_aarch64_gnullvm 0.48.0", | ||
| 1617 | "windows_aarch64_msvc 0.48.0", | ||
| 1618 | "windows_i686_gnu 0.48.0", | ||
| 1619 | "windows_i686_msvc 0.48.0", | ||
| 1620 | "windows_x86_64_gnu 0.48.0", | ||
| 1621 | "windows_x86_64_gnullvm 0.48.0", | ||
| 1622 | "windows_x86_64_msvc 0.48.0", | ||
| 1623 | ] | ||
| 1624 | |||
| 1625 | [[package]] | ||
| 1626 | name = "windows_aarch64_gnullvm" | ||
| 1627 | version = "0.42.2" | ||
| 1628 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1629 | checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" | ||
| 1630 | |||
| 1631 | [[package]] | ||
| 1632 | name = "windows_aarch64_gnullvm" | ||
| 1633 | version = "0.48.0" | ||
| 1634 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1635 | checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" | ||
| 1636 | |||
| 1637 | [[package]] | ||
| 1638 | name = "windows_aarch64_msvc" | ||
| 1639 | version = "0.42.2" | ||
| 1640 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1641 | checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" | ||
| 1642 | |||
| 1643 | [[package]] | ||
| 1644 | name = "windows_aarch64_msvc" | ||
| 1645 | version = "0.48.0" | ||
| 1646 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1647 | checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" | ||
| 1648 | |||
| 1649 | [[package]] | ||
| 1650 | name = "windows_i686_gnu" | ||
| 1651 | version = "0.42.2" | ||
| 1652 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1653 | checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" | ||
| 1654 | |||
| 1655 | [[package]] | ||
| 1656 | name = "windows_i686_gnu" | ||
| 1657 | version = "0.48.0" | ||
| 1658 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1659 | checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" | ||
| 1660 | |||
| 1661 | [[package]] | ||
| 1662 | name = "windows_i686_msvc" | ||
| 1663 | version = "0.42.2" | ||
| 1664 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1665 | checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" | ||
| 1666 | |||
| 1667 | [[package]] | ||
| 1668 | name = "windows_i686_msvc" | ||
| 1669 | version = "0.48.0" | ||
| 1670 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1671 | checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" | ||
| 1672 | |||
| 1673 | [[package]] | ||
| 1674 | name = "windows_x86_64_gnu" | ||
| 1675 | version = "0.42.2" | ||
| 1676 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1677 | checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" | ||
| 1678 | |||
| 1679 | [[package]] | ||
| 1680 | name = "windows_x86_64_gnu" | ||
| 1681 | version = "0.48.0" | ||
| 1682 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1683 | checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" | ||
| 1684 | |||
| 1685 | [[package]] | ||
| 1686 | name = "windows_x86_64_gnullvm" | ||
| 1687 | version = "0.42.2" | ||
| 1688 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1689 | checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" | ||
| 1690 | |||
| 1691 | [[package]] | ||
| 1692 | name = "windows_x86_64_gnullvm" | ||
| 1693 | version = "0.48.0" | ||
| 1694 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1695 | checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" | ||
| 1696 | |||
| 1697 | [[package]] | ||
| 1698 | name = "windows_x86_64_msvc" | ||
| 1699 | version = "0.42.2" | ||
| 1700 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1701 | checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" | ||
| 1702 | |||
| 1703 | [[package]] | ||
| 1704 | name = "windows_x86_64_msvc" | ||
| 1705 | version = "0.48.0" | ||
| 1706 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1707 | checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" | ||
diff --git a/examples/rpi-pico-w/Cargo.toml b/examples/rpi-pico-w/Cargo.toml index 525e934f4..d3ce3085e 100644 --- a/examples/rpi-pico-w/Cargo.toml +++ b/examples/rpi-pico-w/Cargo.toml | |||
| @@ -5,7 +5,7 @@ edition = "2021" | |||
| 5 | 5 | ||
| 6 | 6 | ||
| 7 | [dependencies] | 7 | [dependencies] |
| 8 | cyw43 = { path = "../../", features = ["defmt", "firmware-logs"] } | 8 | cyw43 = { path = "../../cyw43", features = ["defmt", "firmware-logs"] } |
| 9 | cyw43-pio = { path = "../../cyw43-pio", features = ["defmt", "overclock"] } | 9 | cyw43-pio = { path = "../../cyw43-pio", features = ["defmt", "overclock"] } |
| 10 | embassy-executor = { version = "0.2.0", features = ["defmt", "integrated-timers", "executor-thread", "arch-cortex-m"] } | 10 | embassy-executor = { version = "0.2.0", features = ["defmt", "integrated-timers", "executor-thread", "arch-cortex-m"] } |
| 11 | embassy-time = { version = "0.1.0", features = ["defmt", "defmt-timestamp-uptime"] } | 11 | embassy-time = { version = "0.1.0", features = ["defmt", "defmt-timestamp-uptime"] } |
diff --git a/examples/rpi-pico-w/src/bin/tcp_server.rs b/examples/rpi-pico-w/src/bin/tcp_server.rs index 8accc469f..6a87e7c53 100644 --- a/examples/rpi-pico-w/src/bin/tcp_server.rs +++ b/examples/rpi-pico-w/src/bin/tcp_server.rs | |||
| @@ -28,7 +28,11 @@ macro_rules! singleton { | |||
| 28 | 28 | ||
| 29 | #[embassy_executor::task] | 29 | #[embassy_executor::task] |
| 30 | async fn wifi_task( | 30 | async fn wifi_task( |
| 31 | runner: cyw43::Runner<'static, Output<'static, PIN_23>, PioSpi<'static, PIN_25, PIO0, 0, DMA_CH0>>, | 31 | runner: cyw43::Runner< |
| 32 | 'static, | ||
| 33 | Output<'static, PIN_23>, | ||
| 34 | PioSpi<'static, PIN_25, PIO0, 0, DMA_CH0>, | ||
| 35 | >, | ||
| 32 | ) -> ! { | 36 | ) -> ! { |
| 33 | runner.run().await | 37 | runner.run().await |
| 34 | } | 38 | } |
| @@ -44,8 +48,8 @@ async fn main(spawner: Spawner) { | |||
| 44 | 48 | ||
| 45 | let p = embassy_rp::init(Default::default()); | 49 | let p = embassy_rp::init(Default::default()); |
| 46 | 50 | ||
| 47 | let fw = include_bytes!("../../../../firmware/43439A0.bin"); | 51 | let fw = include_bytes!("../../../../cyw43-firmware/43439A0.bin"); |
| 48 | let clm = include_bytes!("../../../../firmware/43439A0_clm.bin"); | 52 | let clm = include_bytes!("../../../../cyw43-firmware/43439A0_clm.bin"); |
| 49 | 53 | ||
| 50 | // To make flashing faster for development, you may want to flash the firmwares independently | 54 | // To make flashing faster for development, you may want to flash the firmwares independently |
| 51 | // at hardcoded addresses, instead of baking them into the program with `include_bytes!`: | 55 | // at hardcoded addresses, instead of baking them into the program with `include_bytes!`: |
| @@ -57,7 +61,15 @@ async fn main(spawner: Spawner) { | |||
| 57 | let pwr = Output::new(p.PIN_23, Level::Low); | 61 | let pwr = Output::new(p.PIN_23, Level::Low); |
| 58 | let cs = Output::new(p.PIN_25, Level::High); | 62 | let cs = Output::new(p.PIN_25, Level::High); |
| 59 | let mut pio = Pio::new(p.PIO0); | 63 | let mut pio = Pio::new(p.PIO0); |
| 60 | let spi = PioSpi::new(&mut pio.common, pio.sm0, pio.irq0, cs, p.PIN_24, p.PIN_29, p.DMA_CH0); | 64 | let spi = PioSpi::new( |
| 65 | &mut pio.common, | ||
| 66 | pio.sm0, | ||
| 67 | pio.irq0, | ||
| 68 | cs, | ||
| 69 | p.PIN_24, | ||
| 70 | p.PIN_29, | ||
| 71 | p.DMA_CH0, | ||
| 72 | ); | ||
| 61 | 73 | ||
| 62 | let state = singleton!(cyw43::State::new()); | 74 | let state = singleton!(cyw43::State::new()); |
| 63 | let (net_device, mut control, runner) = cyw43::new(state, pwr, spi, fw).await; | 75 | let (net_device, mut control, runner) = cyw43::new(state, pwr, spi, fw).await; |
| @@ -90,7 +102,10 @@ async fn main(spawner: Spawner) { | |||
| 90 | 102 | ||
| 91 | loop { | 103 | loop { |
| 92 | //control.join_open(env!("WIFI_NETWORK")).await; | 104 | //control.join_open(env!("WIFI_NETWORK")).await; |
| 93 | match control.join_wpa2(env!("WIFI_NETWORK"), env!("WIFI_PASSWORD")).await { | 105 | match control |
| 106 | .join_wpa2(env!("WIFI_NETWORK"), env!("WIFI_PASSWORD")) | ||
| 107 | .await | ||
| 108 | { | ||
| 94 | Ok(_) => break, | 109 | Ok(_) => break, |
| 95 | Err(err) => { | 110 | Err(err) => { |
| 96 | info!("join failed with status={}", err.status); | 111 | info!("join failed with status={}", err.status); |
diff --git a/examples/rpi-pico-w/src/bin/tcp_server_ap.rs b/examples/rpi-pico-w/src/bin/tcp_server_ap.rs index ee2c32379..24ff7767f 100644 --- a/examples/rpi-pico-w/src/bin/tcp_server_ap.rs +++ b/examples/rpi-pico-w/src/bin/tcp_server_ap.rs | |||
| @@ -28,7 +28,11 @@ macro_rules! singleton { | |||
| 28 | 28 | ||
| 29 | #[embassy_executor::task] | 29 | #[embassy_executor::task] |
| 30 | async fn wifi_task( | 30 | async fn wifi_task( |
| 31 | runner: cyw43::Runner<'static, Output<'static, PIN_23>, PioSpi<'static, PIN_25, PIO0, 0, DMA_CH0>>, | 31 | runner: cyw43::Runner< |
| 32 | 'static, | ||
| 33 | Output<'static, PIN_23>, | ||
| 34 | PioSpi<'static, PIN_25, PIO0, 0, DMA_CH0>, | ||
| 35 | >, | ||
| 32 | ) -> ! { | 36 | ) -> ! { |
| 33 | runner.run().await | 37 | runner.run().await |
| 34 | } | 38 | } |
| @@ -44,8 +48,8 @@ async fn main(spawner: Spawner) { | |||
| 44 | 48 | ||
| 45 | let p = embassy_rp::init(Default::default()); | 49 | let p = embassy_rp::init(Default::default()); |
| 46 | 50 | ||
| 47 | let fw = include_bytes!("../../../../firmware/43439A0.bin"); | 51 | let fw = include_bytes!("../../../../cyw43-firmware/43439A0.bin"); |
| 48 | let clm = include_bytes!("../../../../firmware/43439A0_clm.bin"); | 52 | let clm = include_bytes!("../../../../cyw43-firmware/43439A0_clm.bin"); |
| 49 | 53 | ||
| 50 | // To make flashing faster for development, you may want to flash the firmwares independently | 54 | // To make flashing faster for development, you may want to flash the firmwares independently |
| 51 | // at hardcoded addresses, instead of baking them into the program with `include_bytes!`: | 55 | // at hardcoded addresses, instead of baking them into the program with `include_bytes!`: |
| @@ -57,7 +61,15 @@ async fn main(spawner: Spawner) { | |||
| 57 | let pwr = Output::new(p.PIN_23, Level::Low); | 61 | let pwr = Output::new(p.PIN_23, Level::Low); |
| 58 | let cs = Output::new(p.PIN_25, Level::High); | 62 | let cs = Output::new(p.PIN_25, Level::High); |
| 59 | let mut pio = Pio::new(p.PIO0); | 63 | let mut pio = Pio::new(p.PIO0); |
| 60 | let spi = PioSpi::new(&mut pio.common, pio.sm0, pio.irq0, cs, p.PIN_24, p.PIN_29, p.DMA_CH0); | 64 | let spi = PioSpi::new( |
| 65 | &mut pio.common, | ||
| 66 | pio.sm0, | ||
| 67 | pio.irq0, | ||
| 68 | cs, | ||
| 69 | p.PIN_24, | ||
| 70 | p.PIN_29, | ||
| 71 | p.DMA_CH0, | ||
| 72 | ); | ||
| 61 | 73 | ||
| 62 | let state = singleton!(cyw43::State::new()); | 74 | let state = singleton!(cyw43::State::new()); |
| 63 | let (net_device, mut control, runner) = cyw43::new(state, pwr, spi, fw).await; | 75 | let (net_device, mut control, runner) = cyw43::new(state, pwr, spi, fw).await; |
diff --git a/examples/rpi-pico-w/src/bin/wifi_scan.rs b/examples/rpi-pico-w/src/bin/wifi_scan.rs index a2a44f99d..8fb6c65aa 100644 --- a/examples/rpi-pico-w/src/bin/wifi_scan.rs +++ b/examples/rpi-pico-w/src/bin/wifi_scan.rs | |||
| @@ -26,7 +26,11 @@ macro_rules! singleton { | |||
| 26 | 26 | ||
| 27 | #[embassy_executor::task] | 27 | #[embassy_executor::task] |
| 28 | async fn wifi_task( | 28 | async fn wifi_task( |
| 29 | runner: cyw43::Runner<'static, Output<'static, PIN_23>, PioSpi<'static, PIN_25, PIO0, 0, DMA_CH0>>, | 29 | runner: cyw43::Runner< |
| 30 | 'static, | ||
| 31 | Output<'static, PIN_23>, | ||
| 32 | PioSpi<'static, PIN_25, PIO0, 0, DMA_CH0>, | ||
| 33 | >, | ||
| 30 | ) -> ! { | 34 | ) -> ! { |
| 31 | runner.run().await | 35 | runner.run().await |
| 32 | } | 36 | } |
| @@ -42,8 +46,8 @@ async fn main(spawner: Spawner) { | |||
| 42 | 46 | ||
| 43 | let p = embassy_rp::init(Default::default()); | 47 | let p = embassy_rp::init(Default::default()); |
| 44 | 48 | ||
| 45 | let fw = include_bytes!("../../../../firmware/43439A0.bin"); | 49 | let fw = include_bytes!("../../../../cyw43-firmware/43439A0.bin"); |
| 46 | let clm = include_bytes!("../../../../firmware/43439A0_clm.bin"); | 50 | let clm = include_bytes!("../../../../cyw43-firmware/43439A0_clm.bin"); |
| 47 | 51 | ||
| 48 | // To make flashing faster for development, you may want to flash the firmwares independently | 52 | // To make flashing faster for development, you may want to flash the firmwares independently |
| 49 | // at hardcoded addresses, instead of baking them into the program with `include_bytes!`: | 53 | // at hardcoded addresses, instead of baking them into the program with `include_bytes!`: |
| @@ -55,7 +59,15 @@ async fn main(spawner: Spawner) { | |||
| 55 | let pwr = Output::new(p.PIN_23, Level::Low); | 59 | let pwr = Output::new(p.PIN_23, Level::Low); |
| 56 | let cs = Output::new(p.PIN_25, Level::High); | 60 | let cs = Output::new(p.PIN_25, Level::High); |
| 57 | let mut pio = Pio::new(p.PIO0); | 61 | let mut pio = Pio::new(p.PIO0); |
| 58 | let spi = PioSpi::new(&mut pio.common, pio.sm0, pio.irq0, cs, p.PIN_24, p.PIN_29, p.DMA_CH0); | 62 | let spi = PioSpi::new( |
| 63 | &mut pio.common, | ||
| 64 | pio.sm0, | ||
| 65 | pio.irq0, | ||
| 66 | cs, | ||
| 67 | p.PIN_24, | ||
| 68 | p.PIN_29, | ||
| 69 | p.DMA_CH0, | ||
| 70 | ); | ||
| 59 | 71 | ||
| 60 | let state = singleton!(cyw43::State::new()); | 72 | let state = singleton!(cyw43::State::new()); |
| 61 | let (_net_device, mut control, runner) = cyw43::new(state, pwr, spi, fw).await; | 73 | let (_net_device, mut control, runner) = cyw43::new(state, pwr, spi, fw).await; |
diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 2582e88f5..000000000 --- a/rust-toolchain.toml +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | # Before upgrading check that everything is available on all tier1 targets here: | ||
| 2 | # https://rust-lang.github.io/rustup-components-history | ||
| 3 | [toolchain] | ||
| 4 | channel = "nightly-2023-04-18" | ||
| 5 | components = [ "rust-src", "rustfmt" ] | ||
| 6 | targets = [ | ||
| 7 | "thumbv6m-none-eabi", | ||
| 8 | ] | ||
diff --git a/rustfmt.toml b/rustfmt.toml deleted file mode 100644 index 3639f4386..000000000 --- a/rustfmt.toml +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | group_imports = "StdExternalCrate" | ||
| 2 | imports_granularity = "Module" | ||
| 3 | max_width=120 \ No newline at end of file | ||
