kernel: add ESP radio sys adapter#429
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
|
build_prs #429 vivoblueos/build#68 vivoblueos/external#26 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28370243343. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28370243343. |
|
build_prs #429 vivoblueos/build#68 vivoblueos/external#26 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28371750607. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28371750607. |
|
build_prs #429 vivoblueos/build#68 vivoblueos/external#26 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28414669173. |
|
✅ All jobs completed successfully, see https://github.com/vivoblueos/kernel/actions/runs/28414669173. |
Co-Authored-By: Claude <noreply@anthropic.com>
|
build_prs #429 vivoblueos/build#68 vivoblueos/external#26 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28426940254. |
|
✅ All jobs completed successfully, see https://github.com/vivoblueos/kernel/actions/runs/28426940254. |
Update esp_radio_sys wait queue notification to keep scanning until a suspended waiter is actually queued ready, and make task priority updates go through the scheduler ready queue path when applicable. Also clean up stale wait queue comments and unused imports. Verification: - rustfmt --edition 2024 kernel/adapter/esp_radio_sys/src/lib.rs - ninja -C out/seeed_xiao_esp32c3.debug esp_radio_sys - ninja -C out/seeed_xiao_esp32c3.debug esp_radio_sys_clippy - ninja -C out/seeed_xiao_esp32c3.debug check_all (fails: qemu-esp32-riscv32 not found) Co-Authored-By: Claude <noreply@anthropic.com>
|
build_prs #429 vivoblueos/build#68 vivoblueos/external#26 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28429343671. |
|
❌ Job failed. Failed jobs: check_format (failure), see https://github.com/vivoblueos/kernel/actions/runs/28429343671. |
Format esp_radio_sys with the kernel rustfmt.toml so CI import ordering matches local checks. Verification: - rustfmt --config-path /home/xuchang/blueos-github/kernel/rustfmt.toml --check /home/xuchang/blueos-github/kernel/adapter/esp_radio_sys/src/lib.rs Co-Authored-By: Claude <noreply@anthropic.com>
|
build_prs #429 vivoblueos/build#68 vivoblueos/external#26 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28430579156. |
|
✅ All jobs completed successfully, see https://github.com/vivoblueos/kernel/actions/runs/28430579156. |
Description
Add the ESP radio system adapter implementation and build coverage for the
esp_radio_syscrate. The adapter wires theesp_radio_rtos_driverregistration chain to BlueOS primitives, including scheduler, semaphore, queue, timer, and wait queue support.This also adds driver-facing unit tests that exercise the public
esp_radio_rtos_driverhandle APIs through the registered adapter implementation.Affected board/arch
seeed_xiao_esp32c3.debugTests
export PATH="/home/xuchang/.rustup/toolchains/blueos-latest/bin:$PATH" && rustfmt kernel/adapter/esp_radio_sys/src/lib.rs kernel/arch/src/riscv/mod.rs kernel/kernel/src/scheduler/mod.rs kernel/kernel/src/time.rsgit -C kernel diff --checkexport PATH="/home/xuchang/.rustup/toolchains/blueos-latest/bin:$PATH" && ninja -C out/seeed_xiao_esp32c3.debug kernel/adapter/esp_radio_sys:esp_radio_sys_unittestQEMU run target was attempted but could not execute locally because
qemu-esp32-riscv32is not installed in this environment.Docs/config updates
.configchanges.🤖 Generated with Claude Code