File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,18 @@ idf_build_set_property(COMPILE_DEFINITIONS "-DLV_KCONFIG_IGNORE" APPEND)
8585separate_arguments (LV_CFLAGS_ENV UNIX_COMMAND $ENV{LV_CFLAGS} )
8686list (APPEND LV_CFLAGS ${LV_CFLAGS_ENV} )
8787idf_build_set_property(COMPILE_DEFINITIONS "${LV_CFLAGS} " APPEND )
88+ idf_build_set_property(COMPILE_OPTIONS "-Wno-unused-function" APPEND )
89+ idf_build_set_property(SRCS "${LV_SRC} " APPEND )
90+ idf_build_set_property(INCLUDE_DIRS "${LV_INCLUDE} " APPEND )
91+
92+ # DEBUG LV_CONF_PATH
93+ message (STATUS "LV_CONF_PATH=${LV_CONF_PATH} " )
94+
95+ # Fix for idf 5.2.x
96+ idf_build_get_property(component_targets __COMPONENT_TARGETS)
97+ string (REPLACE "___idf_lvgl" "" component_targets "${component_targets} " )
98+ idf_build_set_property(__COMPONENT_TARGETS "${component_targets} " )
99+
88100
89101# Define the project.
90102project (micropython)
You can’t perform that action at this time.
0 commit comments