-
Notifications
You must be signed in to change notification settings - Fork 89
/
mkrelease.sh
executable file
·29 lines (24 loc) · 950 Bytes
/
mkrelease.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
#edit your ESP-IDF path here, tested with release/v3.3 branch
export IDF_PATH=~/esp/esp-idf
#tune this to match yours
export ESPLAY_SDK=~/esp/esplay-retro-emulation/esplay-sdk
#ffmpeg path
export PATH=/c/ffmpeg/bin:$PATH
cd esplay-launcher
#make menuconfig
make -j4
cd ../esplay-gnuboy
#make menuconfig
make -j4
cd ../esplay-nofrendo
#make menuconfig
make -j4
cd ../esplay-smsplusgx
#make menuconfig
make -j4
cd ..
ffmpeg -i assets/Tile.png -f rawvideo -pix_fmt rgb565 assets/tile.raw -y
/home/Peruri/esp/esplay-base-firmware/tools/mkfw/mkfw.exe Retro-Emulation assets/tile.raw 0 16 1310720 launcher esplay-launcher/build/RetroLauncher.bin 0 17 524288 esplay-nofrendo esplay-nofrendo/build/esplay-nofrendo.bin 0 18 458752 esplay-gnuboy esplay-gnuboy/build/esplay-gnuboy.bin 0 19 1179648 esplay-smsplusgx esplay-smsplusgx/build/esplay-smsplusgx.bin
rm esplay-retro-emu.fw
mv firmware.fw esplay-retro-emu.fw