first
Dependencies: SDFileSystemDMA mbed
Refer to:
https://developer.mbed.org/users/mimi3/code/SDFileSystemDMA
Caution
If your board has SRAM less than or equal to 8KB, the 'buffer' size must be set to 512 Bytes.
NUCLEO-F411RE
About 2.5MBytes/sec
NUCLEO-L152RE
About 1MBytes/sec
Diff: main.cpp
- Revision:
- 18:5fb42182d85d
- Parent:
- 12:dfa39c797789
- Child:
- 20:e34f5e5f307b
--- a/main.cpp Mon Aug 29 10:02:26 2016 +0000 +++ b/main.cpp Mon Aug 29 20:03:29 2016 +0900 @@ -34,7 +34,7 @@ //char buffer[512*1] __attribute__ ((aligned (4))) ; /* 512 byte */ //char buffer[512*2] __attribute__ ((aligned (4))) ; /* 1024 byte */ -char buffer[512*4] __attribute__ ((aligned (4))) ; /* 2028 byte */ +char buffer[512*4] __attribute__ ((aligned (4))) ; /* 2048 byte */ //char buffer[512*8] __attribute__ ((aligned (4))) ; /* 4096 byte */ //char buffer[512*16] __attribute__ ((aligned (4))) ; /* 8192 byte */ //char buffer[512*32] __attribute__ ((aligned (4))) ; /* 16384 byte */