Skip to content

LVGL warnings when building, and including lvgl examples included in the Middleware section of Kconfig #26

@petterssonandreas

Description

@petterssonandreas

In Kconfig.mcuxpresso line 66, lvgl examples seems to be included. This line is in the middleware section, so one question is why include an example here? Could it be removed?

    osource "middleware/openh264/Kconfig"
    osource "middleware/lin_stack/Kconfig"
    osource "examples/lvgl_examples/lvgl_sdk/Kconfig"    <--------- Examples in middleware section?
    osource "middleware/cadence/Kconfig"
    osource "middleware/mcuboot_opensource/Kconfig"

While this line is there, I also get several LVGL warnings from the Kconfig not being properly configured:

warning: LV_OS_CUSTOM_INCLUDE (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:14) defined without a type
warning: LV_DRAW_SW_ASM_CUSTOM_INCLUDE (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:17) defined without a type
warning: LV_ASSERT_HANDLER_INCLUDE (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:20) defined without a type
warning: LV_GLOBAL_CUSTOM_INCLUDE (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:23) defined without a type
warning: LV_TXT_BREAK_CHARS (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:26) defined without a type
warning: LV_PROFILER_INCLUDE (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:29) defined without a type
warning: LV_TXT_COLOR_CMD (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:32) defined without a type
warning: LV_MONDAY_STR (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:35) defined without a type
warning: LV_TUESDAY_STR (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:37) defined without a type
warning: LV_WEDNESDAY_STR (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:39) defined without a type
warning: LV_THURSDAY_STR (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:41) defined without a type
warning: LV_FRIDAY_STR (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:43) defined without a type
warning: LV_SATURDAY_STR (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:45) defined without a type
warning: LV_SUNDAY_STR (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:47) defined without a type
warning: LV_USE_DRAW_SW (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:51) defined without a type
warning: LV_USE_DRAW_VGLITE (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:54) defined without a type
warning: LV_USE_PXP (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:57) defined without a type
warning: LV_USE_DRAW_PXP (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:60) defined without a type
warning: LV_DEMO_BENCHMARK_ALIGNED_FONTS (defined at examples/lvgl_examples/lvgl_sdk/Kconfig:63) defined without a type

Is this expected? I can see that there are several options that are missing a defined type, eg. like below. Is this OK? Is there some other way I should disable the warnings?

    config LV_USE_DRAW_SW
        default n if LV_USE_DRAW_VGLITE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions