Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.29 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.29 KB

rp2040-dlang

Use D programming language in Raspberry Pi Pico and other RP2040 boards

Requirements

How to build

git clone --recursive https://github.com/raspberrypi/pico-sdk.git
export PICO_SDK_PATH=$PWD/pico-sdk
export PICO_PLATFORM=rp2040
export PICO_TOOLCHAIN_PATH=/path/gcc-arm-none-eabi-(version) # or add it to PATH

export DC=gdc
# or
export DC=ldc2
git clone https://github.com/kassane/rp2040-dlang.git
cd rp2040-dlang
cmake -B build # optional -DBETTERC=ON
cmake --build build

Wokwi preview - running blinkly from RP2040-dlang