rust-exercises icon indicating copy to clipboard operation
rust-exercises copied to clipboard

Update loopback fw

Open robamu opened this issue 3 weeks ago • 2 comments

Based on #226 .

Like expected, not exactly trivial, but definitely a good learning opportunity. Let's see if async can actually simplify the complexity here.

robamu avatar Nov 14 '25 15:11 robamu

Deploying ferrous-systems-rust-exercises with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1d6f02d
Status: ✅  Deploy successful!
Preview URL: https://0ae133fa.ferrous-systems-rust-exercises.pages.dev
Branch Preview URL: https://update-loopback-fw.ferrous-systems-rust-exercises.pages.dev

View logs

Waiting for #226, but some notes:

  • Introduce shared BSP
  • Implementation did not become less complex, but some of the low-level details are hidden now
  • USB ACM is currently a separate task. For the dongle, this is more or less pointless at it will always used as a USB device. But it's a a good thing when running on the DK: The USB ACM is now optional. However, a pipe between the USB ACM and radio task now is now required to send data from the radio task via ACM.
  • I tried to make sleeping work when there is nothing to do using https://rtic.rs/2/book/en/by-example/app_idle.html. However, something is not working and the loopback does not work. Did not do any in-depth investigation into that yet.
  • Simplified running on the dk board a bit

robamu avatar Nov 19 '25 11:11 robamu