Skip to content

Updated tutorial for embassy

Alexandru UNGUREANU requested to merge update_embassy_tutorial into main

Merge Request Overview

This merge request updates the Embassy-RS Setup tutorial:

  • updated command for probe-rs installation
  • added new suggestions for compilation and flashing over USB
  • added details on how to setup VSC debugging
  • updated toolchain to use rustc 1.83
  • updated dependencies so that everything compiles
  • changed the example code to a program that prints defmt logs from 2 different tasks

Updated 21.02

  • added instructions on using a second RPi Pico as a debugger
  • added more details on configuring cargo
  • added information on probe-rs installation on Windows (untested)

Updated 24.02

  • added more details for setup on Windows
  • edition should now be set to 2021 in cargo.toml
  • fixed 2 warnings on example code

Updated 02.03

  • changed tutorial to use Pico 2W/RP2350
  • use specific git version for embassy

Testing Strategy

This pull request was tested by building and running the site locally. After following the tutorial step by step, I was able to run and debug the example program from VSCode on Linux. Panic messages are also printed in the terminal.

We have to test this:

  • Test on Windows
  • Test on Linux
  • Test on MacOS

TODO or Help Wanted

Feedback on the changes, especially on introducing the use of defmt for logs and the new example program.

Build

  • Ran ./build.sh.

Author

Signed-off-by: Alexandru Ungureanu alexagungureanu@gmail.com

Edited by Alexandru UNGUREANU

Merge request reports

Loading