You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to define library properties in a high level format than lv_conf.h file. Possibly, a lv_conf.toml would be a better approach. We could do validations and consistency checks at build time (build.rs) and generate the final lv_conf.h dynamically right before compilation.
An example content of how the lv_conf.toml could look like:
# ====================# Graphical settings# ====================
[graphical]
# Maximal horizontal and vertical resolution to support by the library.hor_res_max=480ver_res_max=320
Users would be required to define only what differs from the default values. That way, it is easier to spot differences or custom configurations.
The text was updated successfully, but these errors were encountered:
rafaelcaricio
changed the title
Make it possible to define LvGL config in a higher level format
Make it possible to define LVGL config in a higher level format
Jun 2, 2020
Would be nice to define library properties in a high level format than
lv_conf.h
file. Possibly, alv_conf.toml
would be a better approach. We could do validations and consistency checks at build time (build.rs
) and generate the finallv_conf.h
dynamically right before compilation.An example content of how the
lv_conf.toml
could look like:Users would be required to define only what differs from the default values. That way, it is easier to spot differences or custom configurations.
The text was updated successfully, but these errors were encountered: