From aef88e86e4f101e073366d6a5df46a52e065999a Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Wed, 23 Apr 2025 14:50:02 +0200 Subject: [PATCH] Cache more circles and install resources/ --- building/lv_conf.h | 2 +- install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/building/lv_conf.h b/building/lv_conf.h index 35681040..05cac36b 100644 --- a/building/lv_conf.h +++ b/building/lv_conf.h @@ -216,7 +216,7 @@ extern void *mp_lv_roots; * The circumference of 1/4 circle are saved for anti-aliasing * radius * 4 bytes are used per circle (the most often used radiuses are saved) * 0: to disable caching */ - #define LV_DRAW_SW_CIRCLE_CACHE_SIZE 4 // TODO: set this? + #define LV_DRAW_SW_CIRCLE_CACHE_SIZE 40 #endif #define LV_USE_DRAW_SW_ASM LV_DRAW_SW_ASM_NONE diff --git a/install.sh b/install.sh index b7489ca7..58676e40 100755 --- a/install.sh +++ b/install.sh @@ -4,5 +4,6 @@ pkill -f "python.*mpremote" ~/sources/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py fs cp main.py :/main.py ~/sources/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py fs cp -r apps :/ +~/sources/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py fs cp -r resources :/ ~/sources/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py reset