Skip to content

44670/mgba-k210

 
 

Repository files navigation

How to build k210-port

Step 1: build libmgba.a

mkdir build
cd build
cmake -DTOOLCHAIN=/opt/kendryte-toolchain/bin -DUSE_MINIZIP=OFF -DUSE_ZLIB=OFF -DUSE_LZMA=OFF ..
make -j8

Step 2: build mgba.bin

cd k210-port
mkdir build
cd build
cmake -DTOOLCHAIN=/opt/kendryte-toolchain/bin -DPROJ=mgba ..
make -j8

Step 3: flash to board

Linux:
python(3) kflash.py -b 921600 -p /dev/ttyUSBX -B goE -t YOUR_REPO_PATH/k210-port/build/mgba.bin

Windows:
python kflash.py -b 921600 -p COMXX -B goE -t YOUR_REPO_PATH/k210-port/build/mgba.bin

About

Porting mgba emulator to kendryte K210.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 73.7%
  • C++ 19.2%
  • CMake 3.0%
  • Python 2.5%
  • GLSL 1.1%
  • Objective-C 0.3%
  • Other 0.2%