mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'contrib/github_pr_17642_v6.0' into 'release/v6.0'
feat(sdmmc): support multi-block read/writes (GitHub PR) (v6.0) See merge request espressif/esp-idf!46776
This commit is contained in:
@@ -162,6 +162,7 @@ void app_main(void)
|
||||
// For setting a specific frequency, use host.max_freq_khz (range 400kHz - 40MHz for SDMMC)
|
||||
// Example: for fixed frequency of 10MHz, use host.max_freq_khz = 10000;
|
||||
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
|
||||
host.unaligned_multi_block_rw_max_chunk_size = 8;
|
||||
#if CONFIG_EXAMPLE_SDMMC_SPEED_HS
|
||||
host.max_freq_khz = SDMMC_FREQ_HIGHSPEED;
|
||||
#elif CONFIG_EXAMPLE_SDMMC_SPEED_UHS_I_SDR50
|
||||
|
||||
@@ -122,6 +122,7 @@ void app_main(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 = SDSPI_HOST_DEFAULT();
|
||||
host.unaligned_multi_block_rw_max_chunk_size = 8;
|
||||
|
||||
// For SoCs where the SD power can be supplied both via an internal or external (e.g. on-board LDO) power supply.
|
||||
// When using specific IO pins (which can be used for ultra high-speed SDMMC) to connect to the SD card
|
||||
|
||||
Reference in New Issue
Block a user