igaryhe / playdate-rs

Rust wrapper for Playdate C API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unofficial Rust binding for Playdate C API

THIS HASN’T BEEN TESTED ON APPLE SILICON MAC

Setup

  • Install Playdate SDK and set environment variable PLAYDATE_SDK as its root directory
  • Install arm-none-eabi-gcc and set environment variable ARM_GCC as its root directory
  • Make sure $PLAYDATE_SDK/bin & $ARM_GCC/bin are included in $PATH

Build Example

Simulator

  • cargo build --release --example hello_world
  • On Windows: .\make.bat simulator hello_world
  • On macOS: ./make.sh simulator hello_world (make sure you could run the script)

Device

  • cargo build --release --target thumbv7em-none-eabihf --example hello_world
  • On Windows: .\make.bat device hello_world
  • On macOS: ./make.sh device hello_world

About

Rust wrapper for Playdate C API


Languages

Language:Rust 96.5%Language:Shell 1.8%Language:Batchfile 1.7%Language:C 0.0%