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:
- 19:6519eb90d1ef
- Parent:
- 16:54e179cc3063
- Child:
- 21:6253a88675a5
--- a/spi_device.h Mon Aug 29 20:03:29 2016 +0900 +++ b/spi_device.h Tue Aug 30 20:15:36 2016 +0900 @@ -104,8 +104,9 @@ #endif -#if defined(TARGET_STM32F0) || defined(TARGET_NUCLEO_L152RE) \ - || defined(TARGET_STM32L0) +#if defined(TARGET_STM32F0) \ + || defined(TARGET_STM32L1) \ + || defined(TARGET_STM32L0) #define MOSI D4 /* PB_5 */ #define MISO D5 /* PB_4 */ #define SCLK D3 /* PB_3 */