zephyr/samples/subsys/fs/fat_fs
Erwan Gouriou c6ff61220e samples/subsys/fs: fat_fs: Limit test execution on boards with shield
Limit adafruit_2_8_tft_touch_v2 sample variant execution to the boards
that have this shield available.

In order to run the test in CI bench, add the following in
twister map.yml file on matching board:
  fixtures:
  - fixture_shield_adafruit_2_8_tft_touch_v2

For instance:
- connected: true
  fixtures:
  - fixture_shield_adafruit_2_8_tft_touch_v2
  id: 0673FF323535474B43171415
  platform: nucleo_f429zi
  product: STM32 STLink
  runner: openocd
  serial: /dev/ttyACM0


Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-04-08 16:37:01 +02:00
..
boards boards: arm: Configure SDMMC disk driver default on i.MX RT boards 2021-04-08 16:36:35 +02:00
src include: move disk_access.h to storage 2021-03-23 12:16:01 +01:00
CMakeLists.txt samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj.conf samples: subsys: fs: Refactor fat_fs board configurations 2020-05-07 14:47:43 +02:00
README.rst doc: update disk access docu regarding SD card support 2021-03-23 12:16:01 +01:00
sample.yaml samples/subsys/fs: fat_fs: Limit test execution on boards with shield 2021-04-08 16:37:01 +02: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 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``, and ``olimexino_stm32``.

.. 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.