mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
e7b88a52d1
New example which can benchmark IO speed of SPI flash partition (raw, FATFS, SPIFFS) and SD card (raw, FATFS) connected via SPI and SDMMC.
19 lines
481 B
Plaintext
19 lines
481 B
Plaintext
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_example.csv"
|
|
CONFIG_PARTITION_TABLE_FILENAME="partitions_example.csv"
|
|
CONFIG_ESP_TASK_WDT_EN=n
|
|
|
|
# FATFS
|
|
CONFIG_FATFS_VFS_FSTAT_BLKSIZE=4096
|
|
|
|
# SPI flash
|
|
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
|
CONFIG_ESPTOOLPY_FLASHMODE="qio"
|
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M_DEFAULT=y
|
|
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
|
|
CONFIG_EXAMPLE_TEST_SPIFLASH=y
|
|
|
|
# SD card
|
|
CONFIG_EXAMPLE_TEST_SD_CARD=n
|