ddlawrence / BBB_GPIO_IRQ

Beaglebone General Purpose I/O drivers with Interrupts in Assembly & C demo, GNU/baremetal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BBB_GPIO_IRQ

BeagleBone Black GPIO program with Interrupts, all bare metal.

README Beaglebone Black Interrupt Demo Program

Main prog written in C and drivers/runtime services in Assembly.
It demonstrates RTC and GPIO usage under interupt control, UND & IRQ.
Makefile & loadscript provided for GCC in Win32 (gasp! it is all i have).
I use the XDS100C jtag to load programs. It is more work up front, but much easier in the long run.
I did not test the binary format version for MMC booting. (i broke the SD slot on my laptop)

It is all there in very concise format, so it should be easy for noobs to understand/test/hack/mod for your next BBB bare metal interrupt project!

It requires no additional hardware. USR1 blinks every second & USR2 blinks when you hit the boot button.
All under interrupt control.

You can provide feedback at my website www.baremetal.tech

Many thanks to Al Selen at github.com/auselen I highly recommend checking him out for other BBB examples.
// finito

About

Beaglebone General Purpose I/O drivers with Interrupts in Assembly & C demo, GNU/baremetal


Languages

Language:Assembly 81.0%Language:C 10.3%Language:Makefile 8.7%