「BareMetalで遊ぶ Raspberry Pi」のプログラムです。 logo

「BareMetalで遊ぶ Raspberry Pi」のプログラムです。

Free

BareMetalで遊ぶ Raspberry Pi sample code

FreeFree tier
Type
Open Source

About 「BareMetalで遊ぶ Raspberry Pi」のプログラムです。

Sample code programs from the doujin (self-published) book 'BareMetalで遊ぶ Raspberry Pi' sold at Comiket 85 and published by Tatsu Publishing. The repository contains bare-metal programming examples for Raspberry Pi, including LED blinking, UART communication, SPI/I2C, interrupt handling, and more. Created by the doujin circle 迷惑研 (Meiwaku Ken) lead by @tnishinaga.

Key Features

LED blinking example
UART communication example
SPI and I2C examples
Interrupt handling example
Newlib integration
Initialization code
Documentation and tips
Cross-compilation toolchain setup (crosstool-ng)

Pros & Cons

Pros
  • Comprehensive set of examples covering multiple peripherals
  • Includes documentation and tips
  • Open source and free
  • Based on a published book
Cons
  • Limited to older Raspberry Pi models (likely BCM2835)
  • Requires knowledge of C and ARM assembly
  • Not actively maintained (last commit may be old)
  • Documentation is in Japanese

Best For

Learning bare-metal programming on Raspberry PiEmbedded systems educationUnderstanding low-level hardware interactionPrototyping embedded applications

FAQ

What is this repository?
Sample code from the book 'BareMetalで遊ぶ Raspberry Pi' for bare-metal programming on Raspberry Pi.
Who created it?
Created by @tnishinaga of the doujin circle 迷惑研 (Meiwaku Ken).
What hardware is needed?
A Raspberry Pi (likely models with BCM2835, such as Raspberry Pi 1 or Zero) and a USB-to-serial adapter for UART examples.
Is it free?
Yes, the code is open source and freely available.