Super-Mario-Pico

April 19, 2025 ยท View on GitHub

A basic Super Mario demo written in C for Raspberry Pi Pico/Pico 2. (Still WIP)

Build

Option 1: Build with VSCode extension (All systems)

1 - Install VSCode editor

2 - Inside editor, install Raspberry Pi Pico extension

3 - Import project and compile it

Option 2: Build from terminal (Linux, Mac, WSL)

1 - Install pico-sdk to your system

2 - Build Mario code

mkdir build
cd build
cmake ..
make -j$(nproc)

Hardware

PCB coming soon

Basic breadboard setup: Super Mario Pico on breadboard

Pin connections

ST7735 screen connection:

TFT PinNumPindescHW SPI
1LEDVCC
2SCLKGPIO18
3SDAGPIO19
4A0/DCGPIO3
5RESETGPIO4
6SS/CSGPIO2
7GNDGND
8VCCVCC

Buttons:

PindescGPIO
BTN_JUMP28
BTN_RIGHT27
BTN_LEFT26
BTN_DOWN25

Licensing

This software is developed and distributed with GPL 3.0 by Tan S. Akinci. displaylib_16bit_PICO library is developed and distributed with GPL 3.0 by Gavin Lyon. Super Mario is a trademark of Nintendo. All Super Mario World tiles and sprites, and all Super Mario tunes used in this software are Nintendo's property and are not part of the licensing of the software. This software is a fan project. Developers of this software are not responsible for potential copyright and trademark infringements.