retro-go/Dockerfile
Alex Duchesne 99f8caf740 Reverted change to esp-idf 5.0
There are some weird issues in the launcher when built with 5.0.

- PNG decoding occasionally fails with incorrect checksum
- Occasional wifi crashes

Both issues would indicate memory weirdness to me and needs more investigating. Might be related to the SPIRAM cache workaround.

For now revert to 4.3 and might switch to 4.4 until 5.x is sorted out.
2024-08-29 19:10:34 -04:00

19 lines
475 B
Docker

FROM espressif/idf:release-v4.3
WORKDIR /app
ADD . /app
# RUN pip install -r requirements.txt
# Apply patches
RUN cd /opt/esp/idf && \
patch --ignore-whitespace -p1 -i "/app/tools/patches/panic-hook (esp-idf 4).diff" && \
patch --ignore-whitespace -p1 -i "/app/tools/patches/sdcard-fix (esp-idf 4).diff"
# Build
SHELL ["/bin/bash", "-c"]
RUN . /opt/esp/idf/export.sh && \
python rg_tool.py --target=odroid-go release && \
python rg_tool.py --target=mrgc-g32 release