百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

arm-tutorial-rpi

> 编程语言
开源

Raspberry-Pi 纯物理编程 (C 语言) 教程

614 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Raspberry-Pi 纯物理编程 (C 语言) 教程

Raspberry-Pi Bare Metal Tutorial

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

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

In order to use the tutorial-supplied compiler:

bash
compiler/get_compiler.sh

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

bash
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

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言