-
Notifications
You must be signed in to change notification settings - Fork 75
Description
As i the title i don't know if I'm doing it right so this is how I done it.
Wanted to change font so tried Dynamic_loading_font_example.py from https://github.com/lvgl/lv_binding_micropython/blob/master/examples/Dynamic_loading_font_example.py
but loaded font where empty, like code was getting the .bin (with --format bin or --format lvgl) font but couldn't read the file.
the only next think was to add fonts to build so I did
make .c files moved it to lvgl_micropython\lib\lvgl\src\font
changed lv_conf in lvgl_micropython\lib
#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(CHANGO_16) LV_FONT_DECLARE(CHANGO_22)
but there were problem with it
16.c:14:23: error: expected identifier or '(' before numeric constant 14 | #define CHANGO_16 1 |
so I asked chatgpt removed
#ifndef CHANGO_16
#define CHANGO_16 1
#endif
#if LCHANGO_16
from .c filles
but now still it CANT build it what have i done wrong