Click here if you're using VS Code. Only difference is the installation of git.
Linux

Linux Development Setup

Debian-based Systems:

sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib git
Installing picotool:
sudo bash -c 'echo "deb http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list && apt update && apt -t unstable install -y picotool && sed -i "/unstable main/d" /etc/apt/sources.list && apt update'

Although the script should be fixed, last time I added unstable repos I broke my kernel, so building from source is recommended.

Arch-based Systems:

sudo pacman -Syy cmake
yay -S arm-none-eabi-gcc arm-none-eabi-newlib libstdc++-arm-none-eabi-newlib picotool

or use your favorite AUR helper.

macOS

macOS Development Setup

Install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Dependencies:

brew install cmake arm-none-eabi-gcc libnewlib picotool git

Note: This hasn't been tested, we don't have Macs. Call us over when doing it.

Next Steps

Pull the latest updates:

git clone https://github.com/CircuitReeRUG/macro_pad.git
cd macro_pad
git submodule update --init --recursive

Build the project:

When it's time to build the project, run the following command:

./build.sh

Then, upload it using (remember to put the device in BOOTSEL mode by holding the button and resetting it):

./upload.sh