Improve README.md

This commit is contained in:
Thomas Farstrike
2025-04-30 13:58:27 +02:00
parent 2e01df8250
commit fffa029325
2 changed files with 28 additions and 5 deletions
+16 -5
View File
@@ -44,6 +44,9 @@ Furthermore, these apps are also built-in for convenience:
# Building
Prepare all the sources:
```
mkdir ~/sources/
cd ~/sources/
@@ -56,12 +59,20 @@ git clone https://github.com/cnadler86/micropython-camera-API
echo 'include("~/sources/lvgl_micropython/build/manifest.py")' >> micropython-camera-API/src/manifest.py
git clone https://github.com/lvgl-micropython/lvgl_micropython
# TODO: apply patches from ~/sources/PiggyOS/patches/
cp ~/sources/PiggyOS/patches/lv_conf.h lvgl_micropython/lib/
cd lvgl_micropython/
~/sources/PiggyOS/scripts/build_lvgl_micropython.sh
cd lvgl_micropython/lib/micropython
patch -p1 < ~/sources/PiggyOS/patches/lvgl_micropython*.patch
```
# Now install it with:
Start the build:
```
~/sources/PiggyOS/scripts/build_lvgl_micropython.sh
```
Now install it with:
```
~/sources/PiggyOS/scripts/flash_over_usb.sh
```
@@ -0,0 +1,12 @@
--- ports/esp32/managed_components/espressif__esp32-camera/sensors/private_include/ov5640_settings.h.orig 2025-04-30 13:55:08.270061607 +0200
+++ ports/esp32/managed_components/espressif__esp32-camera/sensors/private_include/ov5640_settings.h 2025-04-25 11:34:00.519068438 +0200
@@ -232,7 +232,8 @@
static const DRAM_ATTR uint16_t sensor_fmt_rgb565[][2] = {
{FORMAT_CTRL, 0x01}, // RGB
- {FORMAT_CTRL00, 0x61}, // RGB565 (BGR)
+ //{FORMAT_CTRL00, 0x61}, // RGB565 (BGR)
+ {FORMAT_CTRL00, 0x6F}, // RGB565 (RGB)
{REGLIST_TAIL, 0x00}
};