https://github.com/doodlewind/miyoosdk
🐳 Docker environment for developing Miyoo Linux apps.
https://github.com/doodlewind/miyoosdk
docker-image gui linux linux-app miyoo retro sdl
Last synced: about 1 month ago
JSON representation
🐳 Docker environment for developing Miyoo Linux apps.
- Host: GitHub
- URL: https://github.com/doodlewind/miyoosdk
- Owner: doodlewind
- Created: 2019-11-27T12:23:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-21T01:12:52.000Z (about 4 years ago)
- Last Synced: 2025-03-18T15:12:49.202Z (about 2 months ago)
- Topics: docker-image, gui, linux, linux-app, miyoo, retro, sdl
- Language: Dockerfile
- Homepage:
- Size: 45.9 KB
- Stars: 24
- Watchers: 2
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Miyoo SDK
Docker environment for developing Miyoo Linux apps.
## Introduction
Miyoo is a handheld retro game emulator. It supports a variety of classic game emulators and indie games, which are generally based on the [SDL](https://www.libsdl.org/) framework. This repo provides a battery included environment for compiling graphics apps on Miyoo. A [simplest demo app](./demo) is also available.## Usage
Make sure you have [Docker](https://www.docker.com/) installed. Just init the environment with precompiled toolchain:``` bash
cd MiyooSDK
wget https://fe-lab.gaoding.com/miyoo/toolchain.tar.gzdocker pull debian:9
docker build -t miyoo_sdk .
```Then we have the `miyoo_sdk` docker image ready. We can try out the toolchain in terminal now:
``` bash
docker run -it --rm miyoo_sdk
```Build demo app:
``` bash
cd demo# Run make inside container
docker run -d --rm -v `pwd`:/root miyoo_sdk make
```This should compile the `demo/demo.out` output, just copy this file to SD card, and start it from the App Installer on Miyoo. For a standalone icon entry, checkout the [GMenu2X](https://mtorromeo.github.io/gmenu2x/documentation/) documentation about using links.
> For multi app projects, we can use this approach to compile them separately. The image itself always remain clean and immutable after builds, which doesn't contradict to reuse build cache in your host FS.
## About Miyoo Development
This toolchain is compatible with Miyoo, PocketGO and New BittBoy handheld, whose CPU model is Allwinner F1C100S.For app development, you don't have to build the firmware from scratch, just focus on compiling the app binary. If you are intereted in building CFW, please checkout the [Miyoo](https://github.com/steward-fu/miyoo) and [MiyooCFW](https://github.com/TriForceX/MiyooCFW) project.
## Credit
Toolchain courtesy of [Steward](https://github.com/steward-fu/) 🏅