You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+11-14Lines changed: 11 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,26 +73,23 @@ The OS supports:
73
73
The main build script is `scripts/build_mpos.sh`:
74
74
75
75
```bash
76
-
#Development build (no frozen filesystem, requires ./scripts/install.sh after flashing)
77
-
./scripts/build_mpos.sh unix dev
76
+
#Build for desktop (Linux)
77
+
./scripts/build_mpos.sh unix
78
78
79
-
#Production build (with frozen filesystem)
80
-
./scripts/build_mpos.sh unix prod
79
+
#Build for desktop (macOS)
80
+
./scripts/build_mpos.sh macOS
81
81
82
-
# ESP32 builds (specify hardware variant)
83
-
./scripts/build_mpos.sh esp32 dev waveshare-esp32-s3-touch-lcd-2
84
-
./scripts/build_mpos.sh esp32 prod fri3d-2024
82
+
# Build for ESP32-S3 hardware (works on both waveshare and fri3d variants)
83
+
./scripts/build_mpos.sh esp32
85
84
```
86
85
87
-
**Build types**:
88
-
-`dev`: No preinstalled files or builtin filesystem. Boots to black screen until you run `./scripts/install.sh`
89
-
-`prod`: Files from `manifest*.py` are frozen into firmware. Run `./scripts/freezefs_mount_builtin.sh` before building
90
-
91
86
**Targets**:
92
-
-`esp32`: ESP32-S3 hardware (requires subtarget: `waveshare-esp32-s3-touch-lcd-2` or `fri3d-2024`)
87
+
-`esp32`: ESP32-S3 hardware (supports waveshare-esp32-s3-touch-lcd-2 and fri3d-2024)
93
88
-`unix`: Linux desktop
94
89
-`macOS`: macOS desktop
95
90
91
+
**Note**: The build system automatically includes the frozen filesystem with all built-in apps and libraries. No separate dev/prod distinction exists anymore.
92
+
96
93
The build system uses `lvgl_micropython/make.py` which wraps MicroPython's build system. It:
97
94
1. Fetches SDL tags for desktop builds
98
95
2. Patches manifests to include camera and asyncio support
@@ -312,10 +309,10 @@ See `internal_filesystem/apps/com.micropythonos.helloworld/` for a minimal examp
312
309
For rapid iteration on desktop:
313
310
```bash
314
311
# Build desktop version (only needed once)
315
-
./scripts/build_mpos.sh unix dev
312
+
./scripts/build_mpos.sh unix
316
313
317
314
# Install filesystem to device (run after code changes)
0 commit comments