Skip to content

Commit c599720

Browse files
Add MacOS
1 parent 40cfc0c commit c599720

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

docs/os-development/compile-and-run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
- lvgl_micropython/build/lvgl_micropy_macOS
4545
- lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin
4646
47-
## Running on Desktop
47+
## Running on Linux or MacOS
4848
4949
1. Download a release binary (e.g., `MicroPythonOS_amd64_Linux`, `MicroPythonOS_amd64_MacOS`) or build your own [on MacOS](macos.md) or [Linux](linux.md).
5050
2. Run the application:

docs/os-development/macos.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# OS Development on MacOS
2+
3+
Most users can just use a pre-built binary from the [releases page](https://github.com/MicroPythonOS/MicroPythonOS/releases) and install it manually or using the [web installer](https://install.MicroPythonOS.com).
4+
5+
But if for some reason that one doesn't work, or you really want to modify things under the hood, you're in the right place here!
6+
7+
## Get the prerequisites
8+
9+
Clone the repositories:
10+
11+
```
12+
git clone --recurse-submodules https://github.com/MicroPythonOS/MicroPythonOS.git
13+
```
14+
15+
That will take a while, because it recursively clones MicroPython, LVGL, ESP-IDF and all their dependencies.
16+
17+
While that's going on, make sure you have everything installed to compile code:
18+
19+
```
20+
xcode-select --install || true # already installed on github
21+
brew install pkg-config libffi ninja make SDL2
22+
```
23+
24+
25+
{!os-development/compile-and-run.md!}

0 commit comments

Comments
 (0)