Skip to content

Commit

Permalink
fix(esp32): lvgl component error in idf v5.2.x.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carglglz committed Nov 12, 2024
1 parent c0eecf6 commit 4ff1ea9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions micropython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ idf_build_set_property(COMPILE_OPTIONS "-Wno-unused-function" APPEND)
idf_build_set_property(SRCS "${LV_SRC}" APPEND)
idf_build_set_property(INCLUDE_DIRS "${LV_INCLUDE}" APPEND)

# Fix for idf 5.2.x
idf_build_get_property(component_targets __COMPONENT_TARGETS)
string(REPLACE "___idf_lvgl" "" component_targets "${component_targets}")
idf_build_set_property(__COMPONENT_TARGETS "${component_targets}")

include(${CMAKE_CURRENT_LIST_DIR}/mkrules_usermod.cmake)

# Add lv_bindings rules
Expand Down

0 comments on commit 4ff1ea9

Please sign in to comment.