Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/igaryhe/playdate-rs
Rust wrapper for Playdate C API
https://github.com/igaryhe/playdate-rs
Last synced: 7 days ago
JSON representation
Rust wrapper for Playdate C API
- Host: GitHub
- URL: https://github.com/igaryhe/playdate-rs
- Owner: igaryhe
- Created: 2020-11-17T02:46:21.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-19T04:07:34.000Z (over 3 years ago)
- Last Synced: 2024-08-01T23:30:52.151Z (4 months ago)
- Language: Rust
- Size: 111 KB
- Stars: 20
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
- awesome-playdate - playdate-rs - Unofficial Rust binding for Playdate C API. (Game Development / Programming Frameworks & Languages)
README
* 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~