1
- # STM32SD
2
-
3
- ## SD library for Arduino
1
+ # STM32 SD library for Arduino
4
2
5
3
With an STM32 board with SD card slot availability, this library enables
6
4
reading and writing on SD card using SD card slot of a STM32 board (NUCLEO, DISCOVERY, ...).
@@ -10,9 +8,25 @@ This library follow Arduino API.
10
8
For more information about it, please visit:
11
9
http://www.arduino.cc/en/Reference/SD
12
10
13
- ## Note
11
+ ## Dependency
14
12
15
- The library is based on FatFs, a generic FAT file system module for small embedded systems.
13
+ This library is based on FatFs, a generic FAT file system module for small embedded systems.
16
14
[ http://elm-chan.org/fsw/ff ] ( http://elm-chan.org/fsw/ff/00index_e.html )
17
15
18
- The FatFs has been ported as Arduino library [ here] ( https://github.com/stm32duino/FatFs ) . The STM32SD library depends on it.
16
+ The FatFs has been ported as Arduino library [ here] ( https://github.com/stm32duino/FatFs ) .
17
+ The STM32SD library depends on it.
18
+
19
+ ## Configuration
20
+
21
+ ### FatFs
22
+ The FatFs has several user defined options, which is specified from within the ` ffconf.h ` file.
23
+
24
+ This library provides a default user defined options file named ` ffconf_default.h ` .
25
+
26
+ User can provide his own defined options by adding his configuration in a file named
27
+ ` ffconf_custom.h ` at sketch level or in variant folder.
28
+
29
+ ### SD detect and timeout
30
+ * ` SD_DETECT_PIN ` pin number can be defined in ` variant.h ` or using ` build_opt.h ` .
31
+
32
+ * ` SD_DATATIMEOUT ` constant for Read/Write block could be redefined in ` variant.h ` or using ` build_opt.h `
0 commit comments