Raspberry Pi Zero

System

Platform Linux ARM: Linux ARM is a Unix-like and mostly POSIX-compliant computer operating system (OS) assembled under the model of free and open-source software development and distribution. Using host OS (Mac OS X, Linux ARM) you can build native application for Linux ARM platform.

Microcontroller

BCM2835

Frequency

1000MHz

Flash

512MB

RAM

512MB

Vendor

Raspberry Pi

Configuration

Please use raspberrypi_zero ID for board option in “platformio.ini” (Project Configuration File):

[env:raspberrypi_zero]
platform = linux_arm
board = raspberrypi_zero

You can override default Raspberry Pi Zero settings per build environment using board_*** option, where *** is a JSON object path from board manifest raspberrypi_zero.json. For example, board_build.mcu, board_build.f_cpu, etc.

[env:raspberrypi_zero]
platform = linux_arm
board = raspberrypi_zero

; change microcontroller
board_build.mcu = bcm2835

; change MCU frequency
board_build.f_cpu = 1000000000L

Debugging

PIO Unified Debugger currently does not support Raspberry Pi Zero board.

Frameworks

Name

Description

WiringPi

WiringPi is a GPIO access library written in C for the BCM2835 used in the Raspberry Pi. It’s designed to be familiar to people who have used the Arduino “wiring” system.