Skip to content

Extendable virtual pet that fits in a Raspberry Pi and needs an LCD display

Notifications You must be signed in to change notification settings

martinschaer/protogotchi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protogotchi

A virtual pet that fits in a Raspberry Pi with an LCD display.

Main screen

Text input

Build, strip, copy over SSH, and run

Mac OS

Pre-requisite: musl-cross (Homebrew users: brew install FiloSottile/musl-cross/musl-cross --without-x86_64 --with-arm-hf)

https://github.com/FiloSottile/homebrew-musl-cross

printf "%s" "Protogotchi hostname: " && read PROTOG_HOSTNAME
printf "%s" "Protogotchi user: " && read PROSOG_USER
# build for rpi zero 2 w
cargo build --release --target=arm-unknown-linux-musleabihf
# look at the size of the bin file
ls -lh target/arm-unknown-linux-musleabihf/release/protogotchi
# strip it
arm-linux-musleabihf-strip target/arm-unknown-linux-musleabihf/release/protogotchi
# look at it now ;)
ls -lh target/arm-unknown-linux-musleabihf/release/protogotchi
# copy over ssh
scp target/arm-unknown-linux-musleabihf/release/protogotchi $PROTOG_USER@$PROTOG_HOSTNAME:~/
# ssh into the rpi to run it
ssh $PROSOG_USER@$PROTOG_HOSTNAME
# run it
./protogotchi

Linux

Not tested. Follow this article Raspberry Pi Zero Raspbian/Rust Primer.

About

Extendable virtual pet that fits in a Raspberry Pi and needs an LCD display

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages