Awesome Open Source
Awesome Open Source

= Embedded Programming using the GNU Toolchain

This is a short tutorial on using the GNU toolchain for bare metal programming. The tutorial uses Qemu to simulate an ARM board, and provides instructions to test programs within the simulated machine. The following topics will be covered.

  • Writing assembly language programs
  • Using make for build automation
  • Writing linker scripts
  • Writing C Startup code
  • Using the C library
  • Inline Assembler

The tutorial is written in asciidoc. The asciidoc source is converted to DocBook and then rendered to HTML.

The instructions to build the documentation on Debian Jessie is given below.

apt-get install openjdk-7-jre libsaxon-java libxslthl-java docbookxsl asciidoc imgsizer dia

$ make

The official rendered version of the is book is available from

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
arm (223
xslt (139
qemu (78
embedded-systems (77
bootloader (61
gcc (60
bare-metal (45