kbhomes / ps2plus

MIT License
3 stars 1 forks source link

PS2+ License CI

Under construction!

Overview

Requirements

Software

Name Purpose
Python 3 Build system
Docker Build system
SCons (pip install scons) Build system (local)
gcovr (pip install gcovr) Code coverage (local)
gcc/mingw Compiler (local)

Hardware

Build instructions

Firmware

Configurator

As with each firmware platform, there are two options for building the configurator app: using a local installation of the PS2SDK, or using this repository's Docker image.

Local PS2SDK installation

(TBD)

Repository Docker image

The configurator can be built locally using the same infrastructure that the GitHub CI build system uses. With Docker installed, the following will directly build the configurator application:

docker compose run configurator

On the first run, this command will build the Docker image and then immediately build the configurator, which will be available as dist/PS2PLMAN.elf. On future runs, the Docker image will be cached. To obtain an interactive shell into the Docker image in order to control the build step:

docker compose run configurator sh

From within the interactive shell, you can run make to build the configurator and make clean to clear the build.

Development

Repository layout

Platform porting

The firmware/bootloader's platform abstraction layer makes porting to new hardware relatively straightforward. New ports need modifications in the following locations:

References

License

See LICENSE.