You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/display/tools/esp_mmap_assets/README.md
+59-2Lines changed: 59 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,11 @@ This module is primarily used for packaging assets (such as images, fonts, etc.)
21
21
5.**LVGL-Specific Binary Format Support**:
22
22
- Supports image conversion to binary files required by LVGL, ensuring compatibility with the LVGL graphics library and optimizing performance for display rendering.
23
23
24
+
6.**Multiple Access Modes**:
25
+
-**Partition Mode**: Access assets from ESP32 partition (default)
26
+
-**Memory Mapping Mode**: Direct memory access for maximum performance
27
+
-**File System Mode**: Access assets from file system for development and testing
28
+
24
29
## Add to Project
25
30
26
31
Packages from this repository are uploaded to [Espressif's component service](https://components.espressif.com/). You can add them to your project via `idf.py add-dependency`, e.g.
@@ -177,6 +182,8 @@ set(one_value_args
177
182
```
178
183
179
184
### Initialization
185
+
186
+
#### Partition Mode (Default)
180
187
```c
181
188
mmap_assets_handle_t asset_handle;
182
189
@@ -192,19 +199,69 @@ set(one_value_args
192
199
.max_files = MMAP_MY_FOLDER_FILES, //Get it from the compiled .h
193
200
.checksum = MMAP_MY_FOLDER_CHECKSUM, //Get it from the compiled .h
0 commit comments