Skip to content

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

License

Notifications You must be signed in to change notification settings

kassane/rp2040-dlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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