Code Monkey home page Code Monkey logo

doom_odroidgo's Introduction

Doom Port for the Odroid Go

Should provide:

  • Graphics
  • Movement
  • Sound
  • Save/Load
  • Multiplayer (2 players, maybe up to 4)

Build setup

Using Docker

docker build -t doom_odroid_go . # Build Docker Image
docker run --rm -v $(pwd):/app --device=/dev/ttyUSB0 -it doom_odroidgo_docker bash # Run with /dev/ttyUSB0 handed over to the container

After that, cd to /app and use it as on your local machine.

Using Docker-Compose

docker-compose run esp-idf

Manual setup

Installing of ESP32-IDF/FreeRTOS (on Ubuntu Linux): (fetched on 20.08.2019)

sudo apt-get install git wget libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache
git clone --recursive https://github.com/espressif/esp-idf.git
sudo ./esp-idf/install.sh

Making and Flashing commands used (on Ubuntu Linux):

. ./esp-idf/export.sh
cd doomodroidgo
make menuconfig
-> Serial flasher config
-> SAVE (file is 'sdkconfig')
make (not needed if you've generated a new sdkconfig, but doesn't hurt...)
make flash (turn Odroid on before...)

Compiling with fresh cloning, and without anything (apart from esptool (pip3 install esptool)) on your flashing computer:

sudo apt-get install git wget libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache
mkdir doomodroid
cd doomodroid
git clone https://github.com/ThomasChr/doom_odroidgo.git .
git clone --recursive https://github.com/espressif/esp-idf.git
./esp-idf/install.sh
. ./esp-idf/export.sh
cd doomodroidgo
make clean
make

-> Grab the files '/build/bootloader/bootloader.bin', '/build/doomodroidgo.bin' and '/build/partitions_singleapp.bin'

On the flashing computer:

pip3 install esptool
esptool.py --chip esp32 --port COM41 erase_flash
esptool.py --chip esp32 --port COM41 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 c:\temp\bootloader.bin 0x10000 c:\temp\doomodroidgo.bin 0x8000 c:\temp\partitions_singleapp.bin
(for Linux Port is something like '/dev/ttyUSB0')

Disassemble:

xtensa-esp32-elf-objdump -S ./build/doomodroidgo.elf

doom_odroidgo's People

Contributors

burned42 avatar hayajiro avatar thomaschr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.