Skip to content

Commit

Permalink
examples: Use auto generation images in display_rotation example
Browse files Browse the repository at this point in the history
  • Loading branch information
espzav committed Apr 11, 2024
1 parent a31b605 commit 5e0942a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 429 deletions.
7 changes: 4 additions & 3 deletions examples/display_rotation/main/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
file(GLOB_RECURSE IMAGE_SOURCES images/*.c)

idf_component_register(SRCS "main.c" ${IMAGE_SOURCES}
idf_component_register(SRCS "main.c"
INCLUDE_DIRS ".")

lvgl_port_create_c_image("images/esp_logo.png" "images/" "ARGB8888" "NONE")
lvgl_port_add_images(${COMPONENT_LIB} "images/")
Loading

0 comments on commit 5e0942a

Please sign in to comment.