Possible to compile Rust program directly to RaspPi, but not Linux?

Hey again!

I want to get into using Rust for embedded systems (I know, Raspberry Pi is not really an embedded system...but it's all I have that is relatively tiny). I know you can target Linux running on it, but is it possible to compile some program that with the correct boot assembly code, can run without an operating system?

Thanks.

1 Like

Yes, check out Raspberry Pi Bare Metal Programming with Rust | by Thiago | Medium

4 Likes

Wow this is exactly what I was looking for :slight_smile: Thank you!

1 Like