From da278c764bd758d6b362afa6717c1a1f406b63aa Mon Sep 17 00:00:00 2001 From: Tomas Rezucha Date: Fri, 14 Apr 2023 11:39:24 +0200 Subject: [PATCH] fix(esp): fix ESP-IDF pedantic builds (#4132) --- env_support/cmake/esp.cmake | 2 ++ idf_component.yml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/env_support/cmake/esp.cmake b/env_support/cmake/esp.cmake index b871a8700..edc370991 100644 --- a/env_support/cmake/esp.cmake +++ b/env_support/cmake/esp.cmake @@ -15,6 +15,7 @@ if(LV_MICROPYTHON) else() if(CONFIG_LV_BUILD_EXAMPLES) file(GLOB_RECURSE EXAMPLE_SOURCES ${LVGL_ROOT_DIR}/examples/*.c) + set_source_files_properties(${EXAMPLE_SOURCES} COMPILE_FLAGS "-Wno-unused-variable -Wno-format") endif() if(CONFIG_LV_USE_DEMO_WIDGETS) @@ -36,6 +37,7 @@ else() if(CONFIG_LV_USE_DEMO_MUSIC) file(GLOB_RECURSE DEMO_MUSIC_SOURCES ${LVGL_ROOT_DIR}/demos/music/*.c) list(APPEND DEMO_SOURCES ${DEMO_MUSIC_SOURCES}) + set_source_files_properties(${DEMO_MUSIC_SOURCES} COMPILE_FLAGS "-Wno-format") endif() idf_component_register(SRCS ${SOURCES} ${EXAMPLE_SOURCES} ${DEMO_SOURCES} diff --git a/idf_component.yml b/idf_component.yml index ba3fff1e6..348735874 100644 --- a/idf_component.yml +++ b/idf_component.yml @@ -1,2 +1,5 @@ description: LVGL - Light and Versatile Graphics Library -url: https://github.com/lvgl/lvgl \ No newline at end of file +url: https://lvgl.io/ +repository: https://github.com/lvgl/lvgl.git +documentation: https://docs.lvgl.io/ +issues: https://github.com/lvgl/lvgl/issues \ No newline at end of file