maxgerhardt / platform-raspberrypi

Raspberry Pi: development platform for PlatformIO
Apache License 2.0
94 stars 46 forks source link

Raspberry Pi RP2040: development platform for PlatformIO

Build Status

RP2040 is a low-cost, high-performance microcontroller device with a large on-chip memory, symmetric dual-core processor complex, deterministic bus fabric, and rich peripheral set augmented with a unique Programmable I/O (PIO) subsystem, it provides professional users with unrivalled power and flexibility.

Usage

  1. Install PlatformIO
  2. Enable Win32 NTFS Long Paths if on Windows. Otherwise, the installation of the package files for Arduino-Pico will fail. See https://arduino-pico.readthedocs.io/en/latest/platformio.html#important-steps-for-windows-users-before-installing.
  3. Create PlatformIO project and configure a platform option in platformio.ini file:

Stable version

[env:stable]
platform = raspberrypi
board = ...
...

Development version

[env:development]
platform = https://github.com/platformio/platform-raspberrypi.git
board = ...
...

Configuration

Please navigate to documentation.