zephyr/samples/subsys/fs/fat_fs
Carles Cufi bf41dd943b doc: reference: Clean up and restructure a bit
Name all subsystem reference consistently with an '_api' postfix and
clean up naming and folder structure in some cases.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2020-03-18 11:47:24 +01:00
..
src
CMakeLists.txt
README.rst doc: reference: Clean up and restructure a bit 2020-03-18 11:47:24 +01:00
nrf52840_blip.overlay disk: Convert sdhc spi driver to new gpio api 2020-02-05 12:00:36 +01:00
prj.conf samples/subsys/fs/fat_fs: increase main stack size 2020-01-18 13:28:45 -05:00
prj_mimxrt1050_evk.conf boards: mimxrt1050_evk: Configure default sdhc instance at board level 2019-10-23 09:49:05 -05:00
sample.yaml tests: fix test identifiers 2019-12-09 15:53:44 -05:00

README.rst

.. _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_api` 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/fat_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.