zephyr/samples/subsys/fs
Jun Yang 933d59ee3c samples/fs: support fs demo on mimxrt_1050 evk board
Add mimxrt_1050 evk board into white list.

FS demo Kconfig for mimxrt_1050 evk board.

Signed-off-by: Jun Yang <jun.yang@nxp.com>
2019-07-10 11:58:15 -05:00
..
src cleanup: include/: move disk_access.h to disk/disk_access.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
nrf52840_blip.overlay dts: Replace status = "ok" with status = "okay" 2019-06-14 19:51:13 -05:00
prj_mimxrt1050_evk.conf samples/fs: support fs demo on mimxrt_1050 evk board 2019-07-10 11:58:15 -05:00
prj.conf sdhc: rename disk_access_sdhc.c 2019-07-10 11:58:15 -05:00
README.rst
sample.yaml samples/fs: support fs demo on mimxrt_1050 evk board 2019-07-10 11:58:15 -05:00

.. _fat_fs:

FAT Filesystem Sample Application
###################################

Overview
********

This sample app demonstrates use of the filesystem API and uses the FAT file
system driver to mount an SDHC card connected over SPI bus.

Requirements
************

This project requires a SDHC or microSD card formatted with FAT filesystem.
See the :ref:`SDHC_disks` documentation for Zephyr implementation details.

Building and Running
********************

This sample can be built for an ``nrf52840_blip`` board. It requires
both the ``nrf52840_blip.overlay`` and the ``dts_fixup.h`` for nrf52840_blip
to work:

.. zephyr-app-commands::
   :zephyr-app: samples/subsys/fs
   :board: nrf52840_blip
   :goals: build
   :compact:

To run this sample, a FAT formatted microSD card should be present in the
microSD slot of ``nrf52840_blip`` board. If there are any files or directories
present in the card, the sample lists them out on the debug serial output.