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?



Yes, check out https://medium.com/@thiagopnts/raspberry-pi-bare-metal-programming-with-rust-a6f145e84024


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