Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4406

Bare metal, Assembly language • GPIO in assembly on RPi5

$
0
0
With the help of many online descriptions and the draft documentation on the RP1 chip, I figured out how to blink an LED in assembly language. You can see my code at https://github.com/rgplantz/itco_ARM/tr ... _5_led_asm.

Any comments are very welcome. And, yes, I know that this is not suitable for a production environment. One should probably use the functions in libgpiod for that. And, of course, python is much easier. I just wanted to learn what's going on at the bare metal level.

Statistics: Posted by rplantz — Wed Mar 20, 2024 9:42 pm — Replies 1 — Views 48



Viewing all articles
Browse latest Browse all 4406

Trending Articles