Skip to content

Commit 814e379

Browse files
committed
Thu May 14 13:45:03 EDT 2020 - working on DIY.md instructions
1 parent 27b6324 commit 814e379

File tree

9 files changed

+183
-5
lines changed

9 files changed

+183
-5
lines changed

Assets/.DS_Store

0 Bytes
Binary file not shown.

Assets/DIY/DIY-Launch.jpg

7.74 KB
Loading

DIY.md

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
# ![Retro ESP32](Assets/logo.jpg)
2+
> DIY - Build It Yourself
3+
4+
If you are considering / curious about the build process of the Retro ESP Launcher, you will need a few things to prepare
5+
6+
## Preperation
7+
> Git going
8+
9+
Clone the **Master** [Official Retro ESP32](https://github.com/retro-esp32/RetroESP32/) repo
10+
11+
```shell
12+
git clone -b master --single-branch [email protected]:retro-esp32/RetroESP32.git --recursive
13+
cd RetroESP32
14+
git submodule update --init --recursive
15+
git submodule foreach git pull origin master
16+
chmod -R 777 Scripts
17+
cd Scripts
18+
./installer
19+
```
20+
21+
It will take a while since we run a few ```git submodule``` inside the repository
22+
23+
## Toolchain
24+
> You will need the xtensa esp32 toolchain
25+
26+
***Note:*** You only need to install the xtensa toolchain. The esp-idf is included in this repository.
27+
28+
- [Linux](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/linux-setup.html)
29+
- [Mac OS](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/macos-setup.html)
30+
- [Windows](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/windows-setup-scratch.html)
31+
32+
33+
## Bash Scripts
34+
> Some tools to help you along your way
35+
36+
Navigate to you newly cloned repository and execute the following
37+
```
38+
chmod -R 777 Scripts
39+
cd Scripts
40+
```
41+
42+
***Note:*** All bash scripts **MUST** be executed from the Scripts folder.
43+
44+
45+
### Submodule Branches
46+
> Make sure all the submodules are on the right branches
47+
48+
```
49+
./branches
50+
```
51+
52+
### Replace files for ILI9342 drivers
53+
> Copy relevant files for ILI9342 TFT LCD
54+
55+
```
56+
./replace
57+
```
58+
59+
### ESP32 Environment Installer
60+
> Install all thing necessary (NIX/OS X) *Windows Coming Soon*
61+
62+
```
63+
./installer
64+
```
65+
66+
### Environmanet Variables
67+
> Set all your paths
68+
> Be sure to run installer first
69+
70+
```
71+
source ./helpers/paths
72+
```
73+
74+
### Build Firmware
75+
> Follow Onscreen Prompts
76+
> if this is your first time running the executable, answer **Y** to the options
77+
78+
```
79+
./firmware
80+
```
81+
82+
You will now have a file called **Retro ESP32.fw** in the Firmware/Release folder.
83+
84+
You can copy this onto your *SD Card* into the ***odroid/firmware*** folder
85+
86+
##### Enabling new firmware
87+
> Insert the sd card into your Retro ESP32 / (Odroid Go) and follow the prompts
88+
89+
| List | Selection | Verification | Write | Reboot |
90+
| ---------------------------------------------- | ------------------------------------- | ------------------------------------------ | --------------------------------------------- | -------------------------------------- |
91+
| ![Power on your hardware](Assets/IMG_1081.jpg) | ![Firmware List](Assets/IMG_1082.jpg) | ![Firmware Selection](Assets/IMG_1083.jpg) | ![Firmware Verification](Assets/IMG_1089.jpg) | ![Firmware Write](Assets/IMG_1090.jpg) |
92+
93+
### Build and Load OTA
94+
> Follow Onscreen Prompts
95+
> if this is your first time running the executable, answer **Y** to the applicable options
96+
97+
### OTA
98+
> Flash directly to ESP32
99+
100+
This is the easiest option, simple follow the onscreen prompts!
101+
102+
```
103+
./ota
104+
```
105+
106+
*note:*
107+
108+
You will need to set the SPI ram for the emulators
109+
110+
| Screen Grab | Instructions |
111+
| ----------------------------------------- | ------------------------------------------------------------ |
112+
| ![Assets/SPI/001.jpg](Assets/SPI/001.jpg) | Answer **Y** |
113+
| ![Assets/SPI/002.jpg](Assets/SPI/002.jpg) | Answer **N** |
114+
| ![Assets/SPI/003.jpg](Assets/SPI/003.jpg) | Answer **Y** (This is IMPORTANT) |
115+
| ![Assets/SPI/004.jpg](Assets/SPI/004.jpg) | Navigate to ```Component config -->``` |
116+
| ![Assets/SPI/005.jpg](Assets/SPI/005.jpg) | Navigate to ```ESP32-specific -->``` |
117+
| ![Assets/SPI/006.jpg](Assets/SPI/006.jpg) | Navigate to ```SPI RAM config -->``` |
118+
| ![Assets/SPI/007.jpg](Assets/SPI/007.jpg) | Navigate to ```Type of SPI RAM chip in use (some value) -->``` |
119+
| ![Assets/SPI/007.jpg](Assets/SPI/008.jpg) | Select ```Auto-detect``` |
120+
121+
122+
123+
### Erase
124+
125+
> Erase flash and storage from ESP32
126+
127+
```
128+
./erase
129+
```
130+
131+
### Arduino
132+
> Create Firmware from Arduino ```.ino.bin``` file
133+
134+
```
135+
./arduino
136+
```
137+
138+
You will now have a ```.fw``` file in Arduino/firmware folder.
139+
140+
You can copy this onto your *SD Card* into the ***odroid/firmware*** folder
141+
142+
143+
### ![Retro ESP32](Assets/retro-esp32/logo.jpg)
144+
# Retro ESP32
145+
> Software Branch
146+
147+
Finally a new launcher for your Odroid-Go
148+
149+
```
150+
cd Launchers/retro-esp32
151+
make menuconfig
152+
```
153+
154+
1. Select ```Restro ESP32 Configuration``` ![Restro ESP32 Configuration](Assets/menuconfig.png)
155+
156+
2. Select your options![Options](Assets/driver.png)
157+
* *Select* **LCD Driver Chip**
158+
* *Select* **MENU Key Options**
159+
* *Select* **In Game Menu**
160+
161+
3. Run ```./ota``` (see above)
162+
163+
| Splash | Navigation | ROM State Management | Run |
164+
| ------------------------------- | ------------------------------ | -------------------------------- | ---------------------------- |
165+
| ![](Assets/launcher/splash.jpg) | ![](Assets/launcher/games.jpg) | ![](Assets/launcher/manager.jpg) | ![](Assets/launcher/run.jpg) |
166+
167+
-----
168+
169+
> ## Although we do this for 💕 of 🕹️
170+
> **We Also Like Coffee!**
171+
> *Please Consider Supporting*<br>
172+
> [![Support](https://raw.githubusercontent.com/retro-esp32/RetroESP32/master/Assets/sponsor.jpg)](https://github.com/sponsors/retro-esp32)
173+
174+
-----

Firmware/Releases/=.zip

-2.33 MB
Binary file not shown.

Firmware/Releases/odroid-go.zip

0 Bytes
Binary file not shown.

Firmware/Releases/retro-esp.zip

0 Bytes
Binary file not shown.

Odroid/odroid-go-firmware

Scripts/firmware

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,22 @@ echo -e "${clamp} ${green}Creating ZIP File of ${cyan}${VERSION}${nc} Firmware"
5454
echo "--------------------------------------------------------------------------"
5555

5656
cd $FIRMWARE_PATH/Releases/
57-
ls
5857
ZIP = "${VERSION}.zip"
5958
if [ -f "$ZIP" ];
6059
then
6160
rm -f ${ZIP}
6261
fi
6362
zip -qr -X "${VERSION}.zip" ${VERSION}
64-
#mv "${VERSION}.zip" $FIRMWARE_PATH/Releases/
6563

64+
#mv "${VERSION}.zip" $FIRMWARE_PATH/Releases/
65+
rm -f "=.zip"
66+
ls
6667

6768
#---------------------------------
6869
# Goodbye
6970
#---------------------------------
7071
cd $SRC_PATH
71-
#source helpers/goodbye
72+
73+
sleep 2
74+
75+
source helpers/goodbye

Tools/esp-idf

Submodule esp-idf updated 1970 files

0 commit comments

Comments
 (0)