Skip to content

Commit 5c3e900

Browse files
Disable rlottie
1 parent 275d405 commit 5c3e900

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lvgl_micropython

scripts/build_mpos.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ else
4242
echo "No need to add esp32-camera to $idfile"
4343
fi
4444

45+
# Adding it doesn't hurt - it won't be used anyway as RLOTTIE is disabled in lv_conf.h
4546
echo "Check need to add esp_rlottie"
46-
if ! grep rlottie "$idfile"; then
47+
#if ! grep rlottie "$idfile"; then
48+
if false; then
4749
echo "Adding esp_rlottie to $idfile"
4850
echo " esp_rlottie:
4951
git: https://github.com/MicroPythonOS/esp_rlottie" >> "$idfile"
@@ -122,7 +124,8 @@ elif [ "$target" == "unix" -o "$target" == "macOS" ]; then
122124
stream_wav_file="$codebasedir"/internal_filesystem/lib/mpos/audio/stream_wav.py
123125
sed -i.backup 's/^@micropython\.viper$/#@micropython.viper/' "$stream_wav_file"
124126

125-
if [ "$target" == "unix" ]; then
127+
#if [ "$target" == "unix" ]; then
128+
if false; then
126129
# 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"
127130
# and on esp32, rlottie_create_from_raw() crashes the system
128131
sed -i.backup 's/#define MICROPY_RLOTTIE 0/#define MICROPY_RLOTTIE 1/' "$codebasedir"/lvgl_micropython/lib/lv_conf.h

0 commit comments

Comments
 (0)