File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
tests/subsys/fs/fat_fs_api Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ The demo will run on native_posix and will use the on-board SPI flash.
1313 cmake -DBOARD=native_posix ..
1414 make run
1515
16+ To test fatfs on MMC, add this cmake option to your build command:
17+ -DCONF_FILE=prj_mmc.conf
1618--------------------------------------------------------------------------------
1719
1820Sample Output:
Original file line number Diff line number Diff line change 1+ CONFIG_FILE_SYSTEM=y
2+ CONFIG_LOG=y
3+ CONFIG_FAT_FILESYSTEM_ELM=y
4+ CONFIG_SPI=y
5+ CONFIG_GPIO=y
6+ CONFIG_ZTEST=y
7+ CONFIG_ZTEST_NEW_API=y
8+ CONFIG_MMC_VOLUME_NAME="NAND"
9+ CONFIG_MAIN_STACK_SIZE=4096
Original file line number Diff line number Diff line change 88 filesystem.fat.api.lfn :
99 extra_args : CONF_FILE="prj_lfn.conf"
1010 platform_allow : native_posix
11+ filesystem.fat.api.mmc :
12+ extra_args : CONF_FILE="prj_mmc.conf"
13+ filter : dt_compat_enabled("zephyr,mmc-disk")
You can’t perform that action at this time.
0 commit comments