build(wio-tracker-l2): LVGL 9.2.2 -> 9.6.0

The triangle draw descriptor's colour fields lost their bg_ prefix and style
getters take an lv_part_t. 9.6 sizes flex containers through the layout, so
popups no longer shrink when pulled past their end: lvgl_patches.py goes.
The sim wipes its LVGL object cache when the library version changes.
Flash +73 KB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-09-28 15:06:23 +02:00
co-authored by Claude Opus 5.5
parent 4d6e9ad20e
commit ed5c903c3b
6 changed files with 16 additions and 72 deletions
+7 -1
View File
@@ -246,7 +246,13 @@ if [ "$SIM_UI" = "lvgl" ]; then
# would shadow the libc <features.h> the C headers include.
C_FLAGS=(-std=gnu99 "${OPT_FLAGS[@]}" "${DEFINES[@]}" "-I$LVGL_DIR" -Iexamples/companion_radio/ui-lvgl)
LV_OBJ_DIR="$OUT_DIR/obj_lvgl"
python3 examples/companion_radio/ui-lvgl/lvgl_patches.py "$LVGL_DIR" # as the firmware build does
# Another LVGL version: its files needn't be newer than the cached objects.
LV_VER="$(grep '"version"' "$LVGL_DIR/library.json")"
if [ "$(cat "$LV_OBJ_DIR/.lvgl_version" 2>/dev/null)" != "$LV_VER" ]; then
rm -rf "$LV_OBJ_DIR"
mkdir -p "$LV_OBJ_DIR"
echo "$LV_VER" > "$LV_OBJ_DIR/.lvgl_version"
fi
C_SRCS=()
while IFS= read -r f; do C_SRCS+=("$f"); done < <(
find "$LVGL_DIR/src" -name '*.c' | sed "s|^$REPO_ROOT/||" | sort