uLisp - Raspberry Pi Pico

submited by
Style Pass
2022-01-17 19:00:06

The Raspberry Pi Pico is a board based on the RP2040, a brand new microcontroller chip designed by Raspberry Pi in the UK. The RP2040 is a dual-core ARM Cortex M0+ running at 133 MHz which provides 16 MB of off-chip flash and 246 KB on-chip RAM. It has 30 GPIO pins, 4 of which can be used as analogue inputs, two UARTs, two SPI controllers, two I2C controllers, and 16 PWM channels.

Other manufacturers, including Adafruit, Sparkfun, and Pimoroni, have also designed boards based on the RP2040. These boards all have similar performance when running uLisp; for example, they run the Tak benchmark in 8 secs; see Performance.

The Raspberry Pi Pico and other RP2040 boards allow you to save the entire workspace using save-image, using the external QSPI flash.

The ARM version of uLisp includes an ARM assembler that allows you to generate machine-code functions, integrated with Lisp, written in ARM thumb code. The assembler itself is written in Lisp to make it easy to extend it or add new instructions. For more information see ARM assembler overview.

Leave a Comment