ardupilot/libraries/AP_HAL_F4Light/hardware/sd
night-ghost d1f2646394 HAL_F4Light: fixed bug with DataFlash chips more than 128MBit 2018-04-13 20:46:18 +10:00
..
FatFs HAL_F4Light: fixed bug with DataFlash chips more than 128MBit 2018-04-13 20:46:18 +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 AP_HAL_F4light: comments translated to english 2018-03-05 15:00:18 +00:00
SD.h HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11: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 HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11:00
SdFatFs.h HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11:00
ffconf.h HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11: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*