Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

For3050/gnu-eprog

Repository files navigation

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 http://www.bravegnu.org/gnu-eprog/

About

介绍脚本工具 Embedded Programming with the GNU Toolchain

Resources

Contributing

Stars

Watchers

Forks

Packages

Contributors

Languages

  • XSLT 51.4%
  • Assembly 20.1%
  • CSS 19.1%
  • Makefile 8.3%
  • C 1.1%

AltStyle によって変換されたページ (->オリジナル) /