igwtech / arm-tutorial-rpi

Raspberry-Pi Bare Metal Tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspberry-Pi Bare Metal Tutorial

Build Status

This repository contains the code for the Raspberry-Pi bare-metal programming in C series. The home of the tutorial and all of the articles relating to the code is at valvers.com

You can build on linux, windows, or MAC - all you need is the arm-none-eabi toolchain.

For all platforms, you can get the required toolchain used in this tutorial from the GCC-ARM-embedded project - Most OS distributions now have at least the 4.8 toolchain, however the following will fix problems with using the 4.9 toolchain.

Adding options -lc -specs=nosys.specs allows arm-none-eabi-gcc v4.9 for compilation

Have fun, and remember to experiment!

Tutorial links (online)

Step01 - Getting Started

Step02 - C Runtime

Step03 - Introducing CMake

Step04 - Interrupts

Step05 - Graphics(Basic)

Some interesting links:

Original Cambridge Tutorial that inspired this tutorial series: http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/index.html

ARM Instruction Reference: http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf

GNU ARM Embedded Toolchain: https://launchpad.net/gcc-arm-embedded

Newlib C-Library documentation: https://sourceware.org/newlib/libc.html

About

Raspberry-Pi Bare Metal Tutorial

License:MIT License


Languages

Language:C 65.3%Language:CMake 19.4%Language:Shell 9.6%Language:Assembly 5.5%Language:Batchfile 0.2%