diff --git a/Lib/SD_Card/SD_MMC.c b/Lib/SD_Card/SD_MMC.c index d934034..b6ee1eb 100644 --- a/Lib/SD_Card/SD_MMC.c +++ b/Lib/SD_Card/SD_MMC.c @@ -71,6 +71,7 @@ void SD_Init(void) // For setting a specific frequency, use host.max_freq_khz (range 400kHz - 20MHz for SDSPI) // Example: for fixed frequency of 10MHz, use host.max_freq_khz = 10000; sdmmc_host_t host = SDMMC_HOST_DEFAULT(); + host.max_freq_khz = SDMMC_FREQ_HIGHSPEED; // 设置SD卡读写速度为40MHZ // This initializes the slot without card detect (CD) and write protect (WP) signals. diff --git a/test/gif_displat_test/gif_test.c b/test/gif_displat_test/gif_test.c index c160228..a7213d4 100644 --- a/test/gif_displat_test/gif_test.c +++ b/test/gif_displat_test/gif_test.c @@ -119,7 +119,7 @@ static bool get_gif_wh(const uint8_t *raw, uint32_t *w, uint32_t *h) void red_gif_test(void) { size_t gif_len = 0; - uint8_t *gif_data = get_gif_data("xwzy_m.gif", &gif_len); + uint8_t *gif_data = get_gif_data("sequence02m.gif", &gif_len); ESP_LOGI("GIF", "GIF 文件大小 %zu 字节", gif_len); if (!gif_data) return; diff --git a/项目开发日志.md b/项目开发日志.md index 9b9b437..0b15140 100644 --- a/项目开发日志.md +++ b/项目开发日志.md @@ -153,4 +153,14 @@ - [x] 2. 新增了优雅的C语言错误处理 -- [x] 3. 完成了gif的显示测试(使用lvgl当中的gif解码器),测试通过 \ No newline at end of file +- [x] 3. 完成了gif的显示测试(使用lvgl当中的gif解码器),测试通过 + +#### Day4 2025.8.26 +##### 主要目标:测试开发板官方提供的例程中的驱动能否使用 +实际完成任务: +- [x] 1. 优化了项目结构 + +#### Day4 2025.8.27 +##### 主要目标:测试开发板官方提供的例程中的驱动能否使用 +实际完成任务: +- [x] 1. 完成了SDMMC的超频,从20MHz提升到40MHz,测试通过 \ No newline at end of file