From 5c3e9008b8223feb046d408358ff05e99c829ef9 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Wed, 7 Jan 2026 22:35:55 +0100 Subject: [PATCH] Disable rlottie --- lvgl_micropython | 2 +- scripts/build_mpos.sh | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lvgl_micropython b/lvgl_micropython index 317aaec5..6a140929 160000 --- a/lvgl_micropython +++ b/lvgl_micropython @@ -1 +1 @@ -Subproject commit 317aaec5590cdb980d2df591a1a51631ea9caefd +Subproject commit 6a1409298593c557b724f3de6c2d0c7504c881d0 diff --git a/scripts/build_mpos.sh b/scripts/build_mpos.sh index bb29bc13..6bd1db2a 100755 --- a/scripts/build_mpos.sh +++ b/scripts/build_mpos.sh @@ -42,8 +42,10 @@ else echo "No need to add esp32-camera to $idfile" fi +# Adding it doesn't hurt - it won't be used anyway as RLOTTIE is disabled in lv_conf.h echo "Check need to add esp_rlottie" -if ! grep rlottie "$idfile"; then +#if ! grep rlottie "$idfile"; then +if false; then echo "Adding esp_rlottie to $idfile" echo " esp_rlottie: git: https://github.com/MicroPythonOS/esp_rlottie" >> "$idfile" @@ -122,7 +124,8 @@ elif [ "$target" == "unix" -o "$target" == "macOS" ]; then stream_wav_file="$codebasedir"/internal_filesystem/lib/mpos/audio/stream_wav.py sed -i.backup 's/^@micropython\.viper$/#@micropython.viper/' "$stream_wav_file" - if [ "$target" == "unix" ]; then + #if [ "$target" == "unix" ]; then + if false; then # only on unix, because on macos, homebrew install rlottie fails so the compilation runs into: fatal error: 'rlottie_capi.h' file not found on macos" # and on esp32, rlottie_create_from_raw() crashes the system sed -i.backup 's/#define MICROPY_RLOTTIE 0/#define MICROPY_RLOTTIE 1/' "$codebasedir"/lvgl_micropython/lib/lv_conf.h