Skip to content

Releases: picoruby/R2P2

EuRuKo 2025 Edition🍷

19 Sep 10:14

Choose a tag to compare

This release is for the workshop in EuRuKo 2025!
But no worries, nothing special. You all can use the latest features of PicoRuby and R2P2 with it!

What's Changed

  • Run build and rp2040js simulation on CI by @take-cheeze in #19
  • Upgrade pico-sdk from 2.1.1 to 2.2.0 by @hasumikin in #20
  • There are too many improvements to PicoRuby to list here. Enjoy anyway!!

....Sorry for the lack of detailed release notes. I'm short on time as the EuRuKo workshop is starting soonπŸ’¦

New Contributors

Full Changelog: 0.4.1...0.5.0

Stable release for RP2040 with the latest PicoRuby

03 May 09:19

Choose a tag to compare

Target Boards

  • Raspberry Pi Pico and Pico W
    • R2P2_PICO has a larger heap memory for VM than R2P2_PICO_W

Key Features

This release has no big changes but includes some improvements:

  • From version 0.4.0
    • Improve Shell setup to ensure that directories and system files are created
    • Add timeout parameter to I2C
  • From version 0.3.0
    • Many small fixes in the parser, gems, and VM

Pico W with WiFi and BLE supportπŸ›œ

30 Apr 11:00

Choose a tag to compare

Target Boards

  • This release is for Raspberry Pi Pico W (not Pico 2 and Pico 2 W)
    • You can install this release into Pico without W, but BLE and WiFi do not work (maybe you'll get SEGV)

Key Features

Special Release for RubyKaigi 2025πŸ₯³

17 Apr 03:05

Choose a tag to compare

This is a special release of R2P2, what the author talks about at RubyKaigi 2025 MicroRuby: True Microcontroller Ruby

Target Boards

  • Raspberry Pi Pico 2 and Pico 2 W🎊
  • Compatible with RP2350-based boards

Key Features

Known Issues

  • Many bugs🀯
  • IRB sometimes (often) hangs
  • Memory leak
  • and more!

In our experience, the RP2350 often does not start up automatically right after writing the uf2 file. Try turning the power off and on manually.

Parser Migration: Switching to Prism!!!!!

11 Sep 19:26

Choose a tag to compare

After many difficult development challenges, PicoRuby's parser has finally become Prism!

Enormous gratitude to @kddnewton πŸ’

This release does not include the wireless version. Please be patient!

What's Changed

  • Add rake setup to execute bundle install in picoruby by @hayaokimura in #7
  • Fix check_pico_sdk error message by @hayaokimura in #9
  • Use gcc-arm-embedded for building on macOS. by @yuuu in #10

New Contributors

Full Changelog: 0.2.1...0.3.0

No need to call `require "cyw43"` on Pico W

09 Feb 05:04

Choose a tag to compare

To ensure consistency with the article in n-monthly Lambda Node Vol.4 No.1

Full Changelog: 0.2.0...0.2.1

require, PWM, Watchdog and BLE (experimental)

13 Dec 05:53

Choose a tag to compare

What's Changed

Full Changelog: 0.1.2...0.2.0

UART added and other peripheral libraries fixed

18 Sep 07:25

Choose a tag to compare

  • GPIO
  • ADC
  • I2C
  • SPI
  • UART

These gems are implemented according to API guidelines: https://github.com/mruby/microcontroller-peripheral-interface-guide

Shell improved

05 Jun 01:45

Choose a tag to compare

  • You can copy & paste into the R2P2 shell (line by line. Multiple lines will fail)
  • You can interrupt a task by Ctrl-C
  • Shell can start even if the terminal size is small

General peripheral classes: GPIO, ADC, I2C, and SPI

24 May 09:42

Choose a tag to compare

GPIO

The image below shows how to turn on and off the LED on Raspberry Pi Pico:

image

Note that you (generally) have to answer n to some questions being asked on start-up.

ADC

You can calculate the current temperature by RP2040's on-chip sensor:

image

I2C and SPI

[TODO]