Closed sk123sos closed 3 years ago
This is somewhat off-topic since it doesn't pertain to anything LVGL-specific, but I would piggyback on this line of the Makefile and prepend something like window.buildTimestamp = \"$(shell date)\";
to the echo string.
This is somewhat off-topic since it doesn't pertain to anything LVGL-specific, but I would piggyback on this line of the Makefile and prepend something like
window.buildTimestamp = \"$(shell date)\";
to the echo string.
thanks for help,I have a new qusetion now,If I change the limited size to 1920*1080,I will get lots of mem error,what should I do to avoid this?
Are you referring to the screen resolution? You would need to increase the maximum allowed size in lv_conf.h
.
Are you referring to the screen resolution? You would need to increase the maximum allowed size in
lv_conf.h
.
yes I did ,but it shows that LINK build/index.html wasm-ld: error: initial memory too small, 22014176 bytes needed emcc: error: failed (1) Makefile:52: recipe for target 'build/index.html' failed
What values did you increase it to? It's asking for 20GB of RAM! :confused:
What values did you increase it to? It's asking for 20GB of RAM! 😕
I only change the lv_conf.h with
I did the calculation wrong; it's actually only asking for 20MB, which is much more reasonable. Try adding -s INITIAL_MEMORY=67108864
beside the other -s
argument on lines 49 and 53.
I did the calculation wrong; it's actually only asking for 20MB, which is much more reasonable. Try adding
-s INITIAL_MEMORY=67108864
beside the other-s
argument on lines 49 and 53.
Thanks for help,I will try it later
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I want to add a timestamp into the created build/index.js,can I recompose some code to add time stamp into it?