Skip to content

Commit fffa029

Browse files
Improve README.md
1 parent 2e01df8 commit fffa029

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ Furthermore, these apps are also built-in for convenience:
4444

4545
# Building
4646

47+
Prepare all the sources:
48+
49+
```
4750
mkdir ~/sources/
4851
cd ~/sources/
4952
@@ -56,12 +59,20 @@ git clone https://github.com/cnadler86/micropython-camera-API
5659
echo 'include("~/sources/lvgl_micropython/build/manifest.py")' >> micropython-camera-API/src/manifest.py
5760
5861
git clone https://github.com/lvgl-micropython/lvgl_micropython
59-
# TODO: apply patches from ~/sources/PiggyOS/patches/
60-
6162
cp ~/sources/PiggyOS/patches/lv_conf.h lvgl_micropython/lib/
6263
63-
cd lvgl_micropython/
64+
cd lvgl_micropython/lib/micropython
65+
patch -p1 < ~/sources/PiggyOS/patches/lvgl_micropython*.patch
66+
```
67+
68+
Start the build:
69+
70+
```
6471
~/sources/PiggyOS/scripts/build_lvgl_micropython.sh
72+
```
73+
74+
Now install it with:
6575

66-
# Now install it with:
76+
```
6777
~/sources/PiggyOS/scripts/flash_over_usb.sh
78+
```
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--- ports/esp32/managed_components/espressif__esp32-camera/sensors/private_include/ov5640_settings.h.orig 2025-04-30 13:55:08.270061607 +0200
2+
+++ ports/esp32/managed_components/espressif__esp32-camera/sensors/private_include/ov5640_settings.h 2025-04-25 11:34:00.519068438 +0200
3+
@@ -232,7 +232,8 @@
4+
5+
static const DRAM_ATTR uint16_t sensor_fmt_rgb565[][2] = {
6+
{FORMAT_CTRL, 0x01}, // RGB
7+
- {FORMAT_CTRL00, 0x61}, // RGB565 (BGR)
8+
+ //{FORMAT_CTRL00, 0x61}, // RGB565 (BGR)
9+
+ {FORMAT_CTRL00, 0x6F}, // RGB565 (RGB)
10+
{REGLIST_TAIL, 0x00}
11+
};
12+

0 commit comments

Comments
 (0)