* kconfig: Fix invalid dependancy in fsdrv
LV_USE_FS_* symbols are integers, instead of usual booleans.
We must treat them as such.
* ci: Get LVGL version from git tag
* docu: Update Espressif readme
* ci run apt update before installing
* Add dithering to gradients
* Add support for 8x8 matrix for ordered dithering
* Fix CI errors
* Try error diffusion on vertical gradient too
* Vertical error diffusion dithering
* Add support for runtime based dithering mode selection (from none, ordered, error diffusion).
* Reduce the binary size of the code by sharing the dithering table when appropriate.
* Fix CI
* Fix CI
* Review corrections
* Fix union mapping
* Revert bg_color changes
* Fix for keeping bg_color in the API.
* Fix after review
* Add support for setting multiple stops per gradient in the style API
* Let's make an example
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* fix(format): run code-format.sh
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(astyle): add the 3rd party source file to exclude list
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(built_in_font_gen.py): change the output format from bin to lvgl
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(generate_all.py): improve the builtin font generation
1.run astyle on the generated source files
2.copy these files to src/font folder
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(font): regenerate all builtin font files
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(misc): avoid ;; after LV_ASSERT_STYLE/LV_ASSERT_OBJ
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(style_api_gen.py): remove the unused docs_prop_cnt variable
and remove the trailing space
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(style_api_gen.py): ensure the generated code follow the coding style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(style_api_gen.py): ensure props has the same order of lv_style_prop_t
and correct the style flags
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): ensure the template and generated file conform the coding style
and remove lv_conf_internal.h from the excluding list of code-format.cfg
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): regenerate lv_conf_internal.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(lv_symbol_def.h): LV_SYMBOL_xxx by the encode order
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(lv_symbol_def.h): change the hex number to upper case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(font): Keep the LV_FONT_DECLARE order same as LV_FONT_xxxx
and correct the comment and format
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(config): check macro equal one correctly
1.remove all tabs from lv_conf_internal_gen.py
2.make the generated code align each other
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(arc) format code
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
* fix(Kconfig) add missing LV_BUILD_EXAMPLES configuration
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
* fix(fsdrv): remove the seek call in fs_open (#2736)
since the file should be located at zero after open
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* docs(os) add example and clarify some poinits
* fix(draw border):border draw error if border width > radius (#2739)
* fix(label) consider base dir lv_label_get_letter_pos in special cases
related to https://github.com/lvgl/lvgl/issues/2712#issuecomment-953463193
* improve lv_conf_internal_gen.py for better Kconfig support
Co-authored-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: guoweilkd <guowei15@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Simplified workflow and documentation, by moving the
development package prerequisites into a new build script
`scripts/install-prerequisites.sh`.
Also, moved prerequisite installation into its own CI step and
removed explicit working directory change as it is no longer
needed (`main.py` does it).
We do not use clang-format anymore, so the directive has been removed from most headers.
lv_conf_template.h is untouched as a convenience for downstream projects which still use the tool.
Fixes#2441