net: add ESP32-C3 WiFi support#437
Conversation
Add the ESP32-C3 WiFi link implementation and board support glue needed by the wifi_example target. Include ESP32-C3 RNG and power domain drivers used by the WiFi stack, wire WiFi medium support into the network layer, and adjust the seeed_xiao_esp32c3 board layout for the WiFi image. Verification: - rustfmt --check --config-path /home/xuchang/blueos-github/kernel/rustfmt.toml <changed Rust files> - ninja -C /home/xuchang/blueos-github/out/seeed_xiao_esp32c3.debug wifi_example Co-Authored-By: Claude <noreply@anthropic.com>
Parse wireless ESSID and passphrase ioctls, cache the passphrase for the connect request, and wire the request into the WiFi link implementation. Configure the ESP32-C3 station interface before triggering esp_wifi_connect_internal so open and WPA2 networks can use the same connect path. Verification: - rustfmt --check --config-path /home/xuchang/blueos-github/kernel/rustfmt.toml kernel/src/net/iface/control.rs kernel/src/net/link/esp32_wlan/mod.rs kernel/src/net/link/mod.rs - git diff --check - ninja -C /home/xuchang/blueos-github/out/seeed_xiao_esp32c3.debug wifi_example Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28786260620. |
|
❌ Job failed. Failed jobs: setup (failure). Skipped jobs: check_format (skipped), check_license (skipped), build_host (skipped), build_and_check_boards (skipped), see https://github.com/vivoblueos/kernel/actions/runs/28786260620. |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28786612083. |
|
❌ Job failed. Failed jobs: check_format (failure), check_license (failure), build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28786612083. |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28787752560. |
|
❌ Job failed. Failed jobs: check_format (failure), check_license (failure), build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28787752560. |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28796091363. |
|
❌ Job failed. Failed jobs: check_license (failure), build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28796091363. |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28836531901. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28836531901. |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28836936806. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28836936806. |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28837312247. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28837312247. |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28837561012. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28837561012. |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28837885183. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28837885183. |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28846535987. |
|
✅ All jobs completed successfully, see https://github.com/vivoblueos/kernel/actions/runs/28846535987. |
Summary
Affected board / arch
Verification
rustfmt --check --config-path /home/xuchang/blueos-github/kernel/rustfmt.toml <changed Rust files>ninja -C /home/xuchang/blueos-github/out/seeed_xiao_esp32c3.debug wifi_exampleThe wifi_example build completed successfully and produced
bin/wifi_example_pass. The build emitted existing Kconfig warnings for empty board values, but Ninja finished successfully.Notes
kconfig/config/seeed_xiao_esp32c3/debug/defconfig.check_allwas not run for this draft PR.🤖 Generated with Claude Code