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:
Amir Gonnen
2021-07-01 15:37:57 +03:00
committed by GitHub
parent 3668e54f06
commit 4114dc30e8
18 changed files with 26 additions and 31 deletions

View File

@@ -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"])