Home

Awesome


Buy Us A Coffee

It's Not Mandatory, But Much Appreciated

We work tirelessly to bring you the best Odroid GO and Retro ESP32 user experience.

Everything we provide is free to use, Feedback is always welcome.

If you like what you see, and feel like giving us additional support, we accept PayPal donation of $1.99 USD, that's like, 1 coffee. But fee free to change the amount. We won't shy away!

Thank You Retro ESP32 Team


Retro ESP32

An ESP32 Wrover based Game Boy Pocket

This repo contains source code, libraries for Arduino IDE and Odroid GO display drivers

Arduino Libraries

ILI9342 specific libraries

The standard Arduino libraries for both ODROID-GO and Adafruit TFT with modifications specific to the ILI9342 display driver from Ilitek

Installation

  1. Place the folders / libraires found in the Arduino Libraries folder into your Arduino libraries location on your local machine
  2. Restart Arduino IDE

Adafruit_ILI9342

You can sipmly run the examples as they are. You can assign your GPIO pins as you wish! Below is a standard example.

#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9342.h"

#define _miso 19	// Not connected
#define _mosi 23  // TFT MOSI
#define _sclk 18  // TFT SCK/CLK

#define _cs   5   // TFT CS
#define _dc   21	// TFT DC
#define _led	14

#define _rst  17  // ESP RST to TFT RESET

// Use hardware SPI
Adafruit_ILI9342 tft = Adafruit_ILI9342(_cs, _dc, _rst);

ODROID-GO

GPIO pins are default Odroid Go build. Be sure to set your TFT hardware accordingly

TFT

FunctionPin
VCC3V3
GNDGND
MISO19
MOSI23
SCK18
CS5
DC21
RESETRESET /EN
LED14

SD CARD

FunctionPinSD CARD (Common Names)
VCC3V3VDD / VCC
GNDGNDGND
MISO19DO / DAT0
MOSI23DI / CMD
SCK18SCLK / CLK
CS22CS / CD / DAT3

Odroid Go

Get Odroid Firmware running an ILI9342

There are multiple folders in the Odroid Drivers folder, please use as necessary

odroid-go-firmware

This extends the display drivers from OtherCrashOverride's firmware for the Odroid GO

Overwrite the following files in your local Odroid Firmware main folder

/main/odroid_display.h
/main/odroid_display.c

Compile your firmware.

make

Compile and flash firmware.

make flash

odroid-go-common

If you are building application / firmware on top of odroid-go-firmware you will most likely be using the odroid-go-common linked folder as in example of the go-play firmware or emulators

Overwrite the following files in your local Odroid Firmware components/odroid folder

/main/odroid_display.h
/main/odroid_display.c

Examples

Arduino Sketch Gaming Hardware NES Emulator