Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The files inside the SD/MMC driver directory is outlined in this section; the generic file-system files, outlined in Chapter 5, “µC/FS Directories and Files”, are also required.

\Micrium\Software\uC-FS\Dev

This directory contains device-specific files.

\Micrium\Software\uC-FS\Dev\SD

This directory contains the SD/MMC driver files.

fs_dev_sd.* contain functions and definitions required for both SPI and card modes.

\Micrium\Software\uC-FS\Dev\SD\Card

This directory contains the SD/MMC driver files for card mode.

fs_dev_sd_card.* are device driver for SD/MMC cards using card mode. This file requires a set of BSP functions be defined in a file named fs_dev_sd_card_bsp.c to work with a certain hardware setup.

.\BSP\Template\fs_dev_sd_card_bsp.c is a template BSP. See section C-5 “SD/MMC Cardmode BSP” for more information.

\Micrium\Software\uC-FS\Dev\SD\SPI

This directory contains the SD/MMC driver files for SPI mode.

fs_dev_sd_spi.* are device driver for SD/MMC cards using SPI mode. This file requires a set of BSP functions be defined in a file named fs_dev_sd_spi_bsp.c to work with a certain hardware setup.

.\BSP\Template\fs_dev_sd_spi_bsp.c is a template BSP. See section C-6 “SD/MMC SPI mode BSP” for more information.

.\BSP\Template (GPIO)\fs_dev_sd_spi_bsp.c is a template GPIO (bit-banging) BSP. See section C-6 “SD/MMC SPI mode BSP” for more information.

\Micrium\Software\uC-FS\Examples\BSP\Dev\SD\Card

Each subdirectory contains an example BSP for a particular platform. These are named according to the following rubric:

<Chip Manufacturer>\<Board or CPU>\fs_dev_sd_card_bsp.c

\Micrium\Software\uC-FS\Examples\BSP\Dev\SD\SPI

Each subdirectory contains an example BSP for a particular platform. These are named according to the following rubric:

<Chip Manufacturer>\<Board or CPU>\fs_dev_sd_spi_bsp.c

  • No labels