-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/add_lvgl_filesystem_example' into 'master'
feat(LCD): Update i80 example of loading image from file system Closes IDF-8026 See merge request espressif/esp-idf!25661
- Loading branch information
Showing
11 changed files
with
177 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
examples/peripherals/lcd/i80_controller/main/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
file(GLOB_RECURSE IMAGE_SOURCES images/*.c) | ||
set(embedded_images) | ||
if(CONFIG_EXAMPLE_LCD_IMAGE_FROM_EMBEDDED_BINARY) | ||
file(GLOB_RECURSE embedded_images images/*.c) | ||
endif() | ||
|
||
idf_component_register(SRCS "i80_controller_example_main.c" "lvgl_demo_ui.c" ${IMAGE_SOURCES} | ||
idf_component_register(SRCS "i80_controller_example_main.c" "lvgl_demo_ui.c" ${embedded_images} | ||
INCLUDE_DIRS ".") | ||
|
||
if(CONFIG_EXAMPLE_LCD_IMAGE_FROM_FILE_SYSTEM) | ||
# Create a partition to store the image resources in the filesystem | ||
spiffs_create_partition_image(storage ./images/filesystem FLASH_IN_PROJECT) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
Oops, something went wrong.