embassy icon indicating copy to clipboard operation
embassy copied to clipboard

Running Embassy on Raspberry Pi2, 3, 4, 5 as bare metal application?

Open gaolaowai opened this issue 6 months ago • 1 comments

I've been trying to google to look for any blogs or existing resources on this, but coming up blank. While I understand there are projects using the RP* microcontrollers, has anyone tried running Embassy as a bare metal RTOS on a full Raspberry Pi SoC?

Assuming a generally working HAL could be located or built, what would it take to get Embassy to run on a CPU rather than a microcontroller?

For example, in C++, there's the Circle project that enables writing software for Pi running on bare metal. I think it would be awesome to have something similar in Rust to open up a whole world of safe edge-computing possibilities.

gaolaowai avatar Jun 14 '25 17:06 gaolaowai

I haven't dug deeply enough to see if this is using syscalls to a kernel under the hood, but initially seems interesting in terms of a starting point for a HAL in Rust, with coverage of most Pi's. https://docs.rs/rppal/latest/rppal/index.html

gaolaowai avatar Jun 16 '25 14:06 gaolaowai