Skip to content

Commit

Permalink
Updated README.md - update Unix (Mac OS) port instructions
Browse files Browse the repository at this point in the history
added to step 8 `mpy-cross/Makefile` to remove `-Werror` 
updated step 12 to find the micropython script in the `build-standard` directory
  • Loading branch information
addijhaq authored Dec 27, 2024
1 parent 3033eff commit fdb6a59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fdb6a59

Please sign in to comment.