u/Repsol_Honda_PLin r/rust • Recommends
On “Bare metal or not for rover project. (Raspberry Pi 5)”
1.2M subscribers • 13 videos on Hallway
Intermediate. Assumes working knowledge.
409K views4 years ago3 recommendations
Systems programmingHardwareRustEmbedded systemsOperating systems
How to write bare-metal Rust code to blink an LED on a Raspberry Pi without an operating system.
The world of embedded programming is AMAZING. The Raspberry Pi is one of the best platforms to break into embedded development. In this video, we'll program our Raspberry Pi WITHOUT the Linux Kernel. We'll use the Rust build chain to create a custom kernel image that we can use to blink our LED on and off. You can take this tutorial, create the code for yourself and use it to develop something more advanced! You can use the UART bus, the SPI bus, or maybe even start to write your own operating system. Video Links: Linker Script: github.com/lowlevellearning/raspberry-pi-baremetal-c/blob/ma… BCM2837 Datasheet: cs140e.sergio.bz/docs/BCM2837-ARM-Peripherals.pdf 🏫 COURSES 🏫 Learn to code in C at lowlevel.academy 🔥 SOCIALS 🔥 Low Level Merch!: linktr.ee/lowlevellearning Follow me on Twitter: twitter.com/LowLevelTweets Follow me on Twitch: twitch.tv/lowlevellearning Join me on Discord!: discord.gg/gZhRXDdBYY Intro Board Setup Lets Code! ARMv7 Target no_std Don't Panic! start location linker script elf2bin TO THE DATASHEET! GPIO Code Firmware Files OutroWhat people say. Recommended as a practical guide for getting started with bare-metal Rust development on Raspberry Pi hardware.
u/Repsol_Honda_PLin r/rust • Recommends
On “Bare metal or not for rover project. (Raspberry Pi 5)”
u/paulora2405in r/rust • Recommends
On “How do i make the compiler know that the opcode in the inline assembly writes its result to the eax and edx registers”
u/atthereallicebearin r/rust • Recommends
On “How to make an arduino led light with rust”