1. 完成了SDMMC的超频,从20MHz提升到40MHz,测试通过

This commit is contained in:
Misaki
2025-08-27 22:40:17 +08:00
parent f5df1d4739
commit f13bb5a230
3 changed files with 13 additions and 2 deletions
+1
View File
@@ -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.
+1 -1
View File
@@ -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;
+10
View File
@@ -154,3 +154,13 @@
- [x] 2. 新增了优雅的C语言错误处理
- [x] 3. 完成了gif的显示测试(使用lvgl当中的gif解码器),测试通过
#### Day4 2025.8.26
##### 主要目标:测试开发板官方提供的例程中的驱动能否使用
实际完成任务:
- [x] 1. 优化了项目结构
#### Day4 2025.8.27
##### 主要目标:测试开发板官方提供的例程中的驱动能否使用
实际完成任务:
- [x] 1. 完成了SDMMC的超频,从20MHz提升到40MHz,测试通过