An ebook about bare-metal programming for ARM
This repository contains a tutorial ebook concerning programming a bare-metal ARM system. More specifically it deals with a ARMv7A version of the ARM Versatile Express platform, emulated on a regular PC through QEMU. You can explore the repository, or read things in order.
An up-to-date PDF version is also available.
The following chapters can be thought of as the first edition of the ebook, providing a complete path from getting started to a working program that uses hardware features.
The repository consists of two top-level folders. The
docfolder contains the actual tutorial chapters. The
srcfolder contains the source code corresponding to each chapter. So, for instance, src/04_cenv contains the source code as it looks after completing Chapter 4.
srcfolder has some shared things.
src/common_ubootholds a stripped-down version of U-Boot used in the examples.
Have fun, and feel free to tweak and experiment, that being a great way to learn!