mtd wrapper for sdcard_spi

Driver for SD-cards using mtd interface. More...

Detailed Description

Driver for SD-cards using mtd interface.

Files

file  mtd_sdcard.h
 Interface definition for mtd_sdcard driver.
 

Data Structures

struct  mtd_sdcard_t
 Device descriptor for mtd_sdcard device. More...
 

Macros

#define MTD_SDCARD_SKIP_ERASE   (1)
 sdcards handle sector erase internally so it's possible to directly write to the card without erasing the sector first. More...
 

Variables

const mtd_desc_t mtd_sdcard_driver
 sdcard device operations table for mtd
 

Macro Definition Documentation

◆ MTD_SDCARD_SKIP_ERASE

#define MTD_SDCARD_SKIP_ERASE   (1)

sdcards handle sector erase internally so it's possible to directly write to the card without erasing the sector first.

Attention: an erase call will therefore NOT touch the content, so disable this feature to ensure overriding the data.

Definition at line 54 of file mtd_sdcard.h.