lv文件系统依然有问题 貌似是seek问题

This commit is contained in:
2026-02-21 02:24:47 +08:00
parent e24f80b3fc
commit a7dabdb925
12 changed files with 259 additions and 51 deletions
+9 -4
View File
@@ -3,11 +3,7 @@
*
* SPDX-License-Identifier: CC0-1.0
*/
#define LV_LVGL_H_INCLUDE_SIMPLE
#include "lv_conf.h"
/* 然后包含 lvgl.h */
#include "lvgl.h"
#include <stdio.h>
#include <inttypes.h>
@@ -36,9 +32,17 @@
#include "esp_timer.h"
#include "lv_conf.h"
/* 然后包含 lvgl.h */
#include "lvgl.h"
#include "lv_port_disp.h"
#include "lv_port_fs.h"
#include "lv_log_to_esp.h"
#include "lv_apps/helloworld/lv_helloworld.h"
static const char *TAG = "SYS";
@@ -110,6 +114,7 @@ void app_main(void)
lv_init();
lv_tick_set_cb(custom_tick_get);
lv_log_to_esp_init();
lv_port_disp_init();
lv_port_fs_init();