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: spi_device.h
- Revision:
- 14:a8d42e636b7d
- Parent:
- 11:d5fc11ac948a
- Child:
- 15:b363001c7e40
--- a/spi_device.h Tue Aug 16 08:41:15 2016 +0000 +++ b/spi_device.h Sat Aug 27 06:01:06 2016 +0000 @@ -88,7 +88,8 @@ #endif -#if defined(TARGET_STM32F0) || defined(TARGET_NUCLEO_L152RE) +#if defined(TARGET_STM32F0) || defined(TARGET_NUCLEO_L152RE) \ + || defined(TARGET_STM32L0) #define MOSI D4 /* PB_5 */ #define MISO D5 /* PB_4 */ #define SCLK D3 /* PB_3 */