Skip to content

Commit d798aff

Browse files
Add camera settings
1 parent e9810a3 commit d798aff

File tree

2 files changed

+515
-67
lines changed

2 files changed

+515
-67
lines changed

CLAUDE.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,26 +73,23 @@ The OS supports:
7373
The main build script is `scripts/build_mpos.sh`:
7474

7575
```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
7878

79-
# Production build (with frozen filesystem)
80-
./scripts/build_mpos.sh unix prod
79+
# Build for desktop (macOS)
80+
./scripts/build_mpos.sh macOS
8181

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
8584
```
8685

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-
9186
**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)
9388
- `unix`: Linux desktop
9489
- `macOS`: macOS desktop
9590

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+
9693
The build system uses `lvgl_micropython/make.py` which wraps MicroPython's build system. It:
9794
1. Fetches SDL tags for desktop builds
9895
2. Patches manifests to include camera and asyncio support
@@ -312,10 +309,10 @@ See `internal_filesystem/apps/com.micropythonos.helloworld/` for a minimal examp
312309
For rapid iteration on desktop:
313310
```bash
314311
# Build desktop version (only needed once)
315-
./scripts/build_mpos.sh unix dev
312+
./scripts/build_mpos.sh unix
316313

317314
# Install filesystem to device (run after code changes)
318-
./scripts/install.sh waveshare-esp32-s3-touch-lcd-2
315+
./scripts/install.sh
319316

320317
# Or run directly on desktop
321318
./scripts/run_desktop.sh com.example.myapp

0 commit comments

Comments
 (0)