Skip to content

Commit 9804db6

Browse files
CHANGELOG
1 parent 8b09b01 commit 9804db6

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ Future release (next version)
44
Put unreleased changes here!
55

66
Builtin Apps:
7-
- Bundle these as compiled bytecode .mpy files to reduce build size by 60KiB
7+
- Bundle these as compiled bytecode .mpy files to reduce build size by 60KiB and improve performance
88
- About: show system uptime
99
- HowTo app: make import lvgl as lv explicit
1010

1111
Frameworks:
1212
- AppManager: try .mpy after .py and use import instead of explicit compile
13+
- AppManager: require explicit import lvgl for clarity
1314
- SharedPreferences: avoid writing default-only configs at boot and prune empty config dirs/files
1415

16+
OS:
17+
- Disable unused OS facilities (FreeRTOS internals, tracing, INFO logging, broken GIF, Pinyin IME, LVGL window, BMP) to reduce build size by 109KiB
18+
1519
0.10.0
1620
======
1721

scripts/compile_dir.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ find "$outdir" -iname "*.py" | while read pyfile; do
2424
else
2525
echo "Compiling $pyfile"
2626
#"$mydir"/../lvgl_micropython/lib/micropython/mpy-cross/build/mpy-cross -s "" "$pyfile"
27+
# -march= is needed to fix @viper stuff, but host is probably wrong because the host is x64 while it's running on esp32 (xtensawin)
28+
# this is fine for builtin/apps because they don't use viper, but lib/mpos/ does (audio) so that might not work
2729
"$mydir"/../lvgl_micropython/lib/micropython/mpy-cross/build/mpy-cross -s "" -march=host "$pyfile"
2830
#"$mydir"/../lvgl_micropython/lib/micropython/mpy-cross/build/mpy-cross -s "" -march=xtensawin "$pyfile"
2931
#"$mydir"/../lvgl_micropython/lib/micropython/mpy-cross/build/mpy-cross -s "" -march=x64 "$pyfile"

0 commit comments

Comments
 (0)