You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Cleanup
This commit is contained in:
@@ -11,20 +11,6 @@ def init_rootscreen():
|
||||
_horizontal_resolution = disp.get_horizontal_resolution()
|
||||
_vertical_resolution = disp.get_vertical_resolution()
|
||||
print(f"init_rootscreen set _vertical_resolution to {_vertical_resolution}")
|
||||
|
||||
# It seems this style
|
||||
style = lv.style_t()
|
||||
style.init()
|
||||
#style.set_bg_opa(lv.OPA.TRANSP)
|
||||
style.set_border_width(0)
|
||||
#style.set_outline_width(0)
|
||||
#style.set_shadow_width(0)
|
||||
style.set_pad_all(0)
|
||||
style.set_radius(0)
|
||||
screen.add_style(style, 0)
|
||||
#screen.set_scrollbar_mode(lv.SCROLLBAR_MODE.OFF)
|
||||
#screen.set_scroll_dir(lv.DIR.NONE)
|
||||
|
||||
label = lv.label(screen)
|
||||
label.set_text("Welcome to MicroPythonOS")
|
||||
label.center()
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
mydir=$(readlink -f "$0")
|
||||
mydir=$(dirname "$mydir")
|
||||
fwfile="$mydir/../lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
|
||||
fwfile="$0"
|
||||
# This would break the --erase-all
|
||||
#if [ -z "$fwfile" ]; then
|
||||
#fwfile="$mydir/../lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
|
||||
#fi
|
||||
ls -al $fwfile
|
||||
echo "Add --erase-all if needed"
|
||||
sleep 5
|
||||
|
||||
Reference in New Issue
Block a user