Giter Club home page Giter Club logo

arm-tutorial-rpi's Introduction

Raspberry-Pi Bare Metal Tutorial

Build Status Markdown 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 and github

The tutorial supports all RPi models, except:

  • rpi3 (rpi3B+ is supported) because the ACT LED is not connected to an IO pin

The tutorial only supports a Linux host for compiling the tutorial code.

Quickstart

git clone [email protected]:BrianSidebotham/arm-tutorial-rpi.git
cd arm-tutorial-rpi

In order to use the tutorial-supplied compiler:

compiler/get_compiler.sh

Get the RPI Firmware that will be required for compiled SD Card images:

firmware/get_firmware_repo.sh

NOTE: This tutorial also used to be tested on Windows, but as I don't have any Windows installs available any more, or indeed the time available to test everything under Windows it's dropped off the list.

Get reading the tutorial. Have fun, and remember to experiment!

Dependencies

The tutorial has a few dependencies which you might want to install before you get started:

  • cmake (Used for configuring Makefiles)
  • mtools (Tools for dealing with file-based FAT32 systems)

Tutorial links (Github)

Step01 - Getting Started

Step02 - C Runtime

Step03 - Introducing CMake

Step04 - Interrupts

Step05 - Graphics(Basic)

Interesting Links

Original Cambridge Tutorial that inspired this tutorial series.

ARM Instruction Reference

Circle C++ Bare Metal Environment for RPI

Newlib C-Library documentation

arm-tutorial-rpi's People

Contributors

arcturus140 avatar ark76r avatar briansidebotham avatar j-marjanovic avatar nickbegley avatar nicola-masarone avatar paulwratt avatar software2000 avatar timgates42 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.