ardupilot/libraries/AP_HAL_F4Light/hardware/sd
Andrew Tridgell 0966e14ca5 DataFlash: fixed F4Light build with g++ 6.3.1
fixes conflict with select in compiler headers
2018-05-16 20:24:23 +10:00
..
FatFs DataFlash: fixed F4Light build with g++ 6.3.1 2018-05-16 20:24:23 +10:00
README.md HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11:00
SD.cpp upgrade FatFS to most recent version 2018-04-27 22:14:59 +10:00
SD.h upgrade FatFS to most recent version 2018-04-27 22:14:59 +10:00
Sd2Card.cpp AP_HAL_F4light: comments translated to english 2018-03-05 15:00:18 +00:00
Sd2Card.h HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11:00
SdFatFs.cpp upgrade FatFS to most recent version 2018-04-27 22:14:59 +10:00
SdFatFs.h HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11:00
ffconf.h upgrade FatFS to most recent version 2018-04-27 22:14:59 +10:00
rules.mk HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11:00

README.md

SD card layer

works via HAL SPI so should be at this level Much faster than old version and supports much more formats

based on:

  • Arduino's SD support for STM32F4 (fixed bugs in read() with data size, in open() with "mode==" and so on, twice reduced memory usage and cured Arduinism)
  • FatFs SDIO for STM32F1

uses FatFS (c) Chan

formatting from command-line:

mkfs.fat -I -F 12 -M 0xF9 -s 128 /dev/sd*