diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-06-29 02:39:28 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-06-29 02:39:28 +0200 |
| commit | f7ec579c18b2ec925afcd4ab9a840719f4ce08cc (patch) | |
| tree | d3770ddc86986669a04fcf79aea01221f5307e53 /cyw43/README.md | |
| parent | 4f0aca481fedf69c4bb80390ceb035bb9c522bc8 (diff) | |
Update probe-rs-cli -> probe-rs
Diffstat (limited to 'cyw43/README.md')
| -rw-r--r-- | cyw43/README.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cyw43/README.md b/cyw43/README.md index defea489f..e4a81410d 100644 --- a/cyw43/README.md +++ b/cyw43/README.md | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # cyw43 | 1 | # cyw43 |
| 2 | 2 | ||
| 3 | WIP driver for the CYW43439 wifi chip, used in the Raspberry Pi Pico W. Implementation based on [Infineon/wifi-host-driver](https://github.com/Infineon/wifi-host-driver). | 3 | Rust driver for the CYW43439 wifi chip, used in the Raspberry Pi Pico W. Implementation based on [Infineon/wifi-host-driver](https://github.com/Infineon/wifi-host-driver). |
| 4 | 4 | ||
| 5 | ## Current status | 5 | ## Current status |
| 6 | 6 | ||
| @@ -19,18 +19,18 @@ Working: | |||
| 19 | TODO: | 19 | TODO: |
| 20 | 20 | ||
| 21 | - Setting a custom MAC address. | 21 | - Setting a custom MAC address. |
| 22 | - Bus sleep (unclear what the benefit is. Is it needed for IRQs? or is it just power consumption optimization?) | 22 | - Bus sleep (for power consumption optimization) |
| 23 | 23 | ||
| 24 | ## Running the examples | 24 | ## Running the examples |
| 25 | 25 | ||
| 26 | - `cargo install probe-rs-cli` | 26 | - `cargo install probe-rs --features cli` |
| 27 | - `cd examples/rpi-pico-w` | 27 | - `cd examples/rp` |
| 28 | ### Example 1: Scan the wifi stations | 28 | ### Example 1: Scan the wifi stations |
| 29 | - `cargo run --release --bin wifi_scan` | 29 | - `cargo run --release --bin wifi_scan` |
| 30 | ### Example 2: Create an access point (IP and credentials in the code) | 30 | ### Example 2: Create an access point (IP and credentials in the code) |
| 31 | - `cargo run --release --bin tcp_server_ap` | 31 | - `cargo run --release --bin wifi_ap_tcp_server` |
| 32 | ### Example 3: Connect to an existing network and create a server | 32 | ### Example 3: Connect to an existing network and create a server |
| 33 | - `WIFI_NETWORK=MyWifiNetwork WIFI_PASSWORD=MyWifiPassword cargo run --release` | 33 | - `WIFI_NETWORK=MyWifiNetwork WIFI_PASSWORD=MyWifiPassword cargo run --release --bin wifi_tcp_server` |
| 34 | 34 | ||
| 35 | After a few seconds, you should see that DHCP picks up an IP address like this | 35 | After a few seconds, you should see that DHCP picks up an IP address like this |
| 36 | ``` | 36 | ``` |
