zephyr/samples/subsys/fs/fat_fs
Daniel DeGrasse 2169183ae1 samples: fat_fs: update overlays for nrf52840 and esp_wrover_kit
Update nrf52840 and esp_wrover overlays to use new sdmmc bindings.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-10-14 09:56:10 +02:00
..
boards samples: fat_fs: update overlays for nrf52840 and esp_wrover_kit 2022-10-14 09:56:10 +02:00
src includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
README.rst samples: fat_fs: Add arduino_mkrzero to supported board list 2022-07-04 16:00:56 +02:00
prj.conf samples: subsys: fs: Refactor fat_fs board configurations 2020-05-07 14:47:43 +02:00
sample.yaml boards: frdm_k64f: add SD/MMC support 2022-09-07 16:37:36 -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 a SPI bus or to an on-chip
SDHC controller.

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

This project requires SD card support and microSD card formatted with FAT filesystem.
See the :ref:`disk_access_api` documentation for Zephyr implementation details.

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

This sample can be built for a variety of boards, including ``nrf52840_blip``,
``mimxrt1050_evk``, ``olimexino_stm32``, ``esp_wrover_kit`` and ``arduino_mkrzero``.

.. 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. If there are any files or directories present in the card, the
sample lists them out on the debug serial output.