ardupilot/libraries/AP_HAL_F4Light/hardware/sd
night-ghost e2b628c471 AP_HAL_F4light: fixed compilation for boards AirbotF4, AirbotV2 and CL_Racing_F4. Corrected prefix for binaries 2018-02-22 08:10:32 +11:00
..
FatFs HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11:00
README.md HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11:00
SD.cpp HAL_F4Light: new hal for F4 boards, close to bare-metal 2018-02-10 09:14:41 +11: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: fixed compilation for boards AirbotF4, AirbotV2 and CL_Racing_F4. Corrected prefix for binaries 2018-02-22 08:10:32 +11: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*