fix(examples) fix MicroPython examples and run the examples with CI (#2339)
* Fixes to micropython examples Added missing images and fonts under 'assets'. Since .bin is in gitignore, renamed fonts to .fnt * Update build_micropython workflow Build the unix port dev variant and run tests. See: https://github.com/lvgl/lv_binding_micropython/issues/151
This commit is contained in:
@@ -22,7 +22,7 @@ except:
|
||||
fs_drv = lv.fs_drv_t()
|
||||
fs_driver.fs_register(fs_drv, 'S')
|
||||
print("montserrat-22 not enabled in lv_conf.h, dynamically loading the font")
|
||||
font_montserrat_22 = lv.font_load("S:" + "../../assets/font/montserrat-22.bin")
|
||||
font_montserrat_22 = lv.font_load("S:" + "../../assets/font/montserrat-22.fnt")
|
||||
style_sel.set_text_font(font_montserrat_22)
|
||||
|
||||
opts = "\n".join(["1","2","3","4","5","6","7","8","9","10"])
|
||||
|
||||
Reference in New Issue
Block a user