embassy-rs / embassy

Modern embedded framework, using Rust and async.
https://embassy.dev
Apache License 2.0
5.59k stars 775 forks source link

how to streamline the elf to uf2 converting for rpi pico? #3283

Open oldoldman opened 2 months ago

oldoldman commented 2 months ago

Hi guys, I have comipled the examples/rp successfully and got the ELF binaries. To run the examples on raspberry pico(w) board, they must be converted to UF2 file format. For now , I have to do it manually by runing picotool. Is there any way to integrate this step into the build process? Many thank!

1-rafael-1 commented 2 months ago

In very general terms You have a few options: