This is the repository for the software of the Pocket Potato Project. For more information, see here.
The Software, right now, only contains the logo (as the splash screen) and the main menu. When finished, it should include several games, some settings and perhaps a dev menu.
You'll need arduino-cli
and make
to compile the project.
make prepare
: installs needed libraries per arduino-climake
or make all
: builds, flashes and then displays the Serial outputmake build
: compiles the project and puts the binaries into ./build/make flash
: flashes the built binaries (it likes to rebuild them first though… TODO: fix that)make debug
: opens the serial port for you to look at what the board has to saymake clean
: cleans the build directorymake detect-hardware
: prints information about the detected board, if any.texture_fmt.py
, our texture formatting script, to get it into the format C++ wants. We currently only support non-compressed textures; compressed ones will be implemented soon!Ask me if any questions arise. We don't really have any hard rules around here, but that doesn't mean you can contribute bad code. Also ask me before starting to work on your PR, to avoid unnecessary work in case of my disapproval.
Make sure the board is connected and that you have the appropriate drivers. Then try rebooting, that worked for me.
If the Makefile is detecting your board incorrectly, you can try setting the environment variable BOARDLIST
to "/port/path arduino:board:name"
.
NO! On Linux, you need to add yourself to the uucp
group. See here.
Install Linux. We accept Pull requests to support Windows, but won't make the effort to do it ourselves.
Our Mac expert @MasterMarcoHD will eventually get around to write a How-to. Until then, tough luck. The Makefile should make this fairly easy though.
Make sure your pin configuration is the same as ours. Have a look into config.h
.
yep