ducalex / retro-go

Retro emulation for the ODROID-GO and other ESP32 devices
GNU General Public License v2.0
519 stars 118 forks source link

How to build a mrgc fw #47

Closed mrkellyhuang closed 1 year ago

mrkellyhuang commented 1 year ago

Sorry ,this is not a bug. I want to build mrgc F/W myself. I have cloned the project and configured the esp_idf 4.3.
After running " ./rg_tool.py build-fw" , I got the file :"retro-go_1.35.1-dirty_odroid-go.fw", but it is not for ESPGBC. Which config file should I modify to build the mrgc F/W. Thank you.

KD-MM2 commented 1 year ago

You need to change the build target here: https://github.com/ducalex/retro-go/blob/master/rg_tool.py#L20

with targets which defined here: https://github.com/ducalex/retro-go/tree/master/components/retro-go/targets

mrkellyhuang commented 1 year ago

Thank you for your reply. I will read these two documents carefully. I think I can solve it now. Thank you.

ducalex commented 1 year ago

Just to clarify, there is a flag for rg_tool.py, there is no need to edit its code: ./rg_tool.py --target=mrgc-g32 build-fw

There is also an environment variable that can be used to define the default target instead: RG_TOOL_TARGET=mrgc-g32.

mrkellyhuang commented 1 year ago

thank you Alex, thanks for your coding and improvement.