THIS HASN’T BEEN TESTED ON APPLE SILICON MAC
- Install Playdate SDK and set environment variable
PLAYDATE_SDKas its root directory - Install arm-none-eabi-gcc and set environment variable
ARM_GCCas its root directory - Make sure
$PLAYDATE_SDK/bin&$ARM_GCC/binare included in$PATH
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)
cargo build --release --target thumbv7em-none-eabihf --example hello_world- On Windows:
.\make.bat device hello_world - On macOS:
./make.sh device hello_world