Merge pull request #88 from addijhaq/patch-1

Updated README.md - update Unix (Mac OS) port instructions
This commit is contained in:
Gabor Kiss-Vamosi 2025-01-03 21:12:36 +01:00 committed by GitHub
commit bf11074200
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,11 +63,11 @@ Python 3 is required, but you can install some other version of python3 instead
5. `sudo mkdir -p /usr/local/lib/`
6. `sudo cp /opt/homebrew/Cellar/sdl2/2.24.0/lib/libSDL2.dylib /usr/local/lib/`
7. `sudo cp -r /opt/homebrew/Cellar/sdl2/2.24.0/include /usr/local/`
8. `sed -i '' 's/ -Werror//' ports/unix/Makefile` Remove -Werror from compiler parameters as Mac fails compilation otherwise
8. `sed -i '' 's/ -Werror//' ports/unix/Makefile mpy-cross/Makefile` Remove -Werror from compiler parameters as Mac fails compilation otherwise
9. `make -C mpy-cross`
10. `make -C ports/unix submodules`
11. `make -C ports/unix`
12. `./ports/unix/micropython`
12. `./ports/unix/build-standard/micropython`
### ESP32 port